Package: inet.protocolelement.shaper
GroupEligibilityTimeMeter
simple module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| EligibilityTimeMeter | simple module |
A packet meter which measures the packet flow that is passing through and optionally attaches an ~EligibilityTimeTag to the packets. The tag contains the calculated simulation time when the packet becomes eligible for transmission according to the asynchronous shaper algorithm. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "contains {numTokens} tk\nbucket empty at {bucketEmptyTime}\nmetered %p pk (%l)" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| clockModule | string | "" |
Relative path of a module that implements IClock(1,2); optional |
| packetOverheadLength | int | 0b |
Extra packet length taken into account, can be used to represent overhead added by lower layers |
| committedInformationRate | double |
Committed information rate of the packet flow |
|
| committedBurstSize | int |
Committed burst size of the packet flow |
|
| maxResidenceTime | double | -1s |
Maximum packet residence time measured from the packet arrival time to the meter module to the transmission eligibility time, not used by default |
| groupEligibilityTimeTableModule | string |
Relative path to the eligibilityTimeTable |
Properties
| Name | Value | Description |
|---|---|---|
| class | GroupEligibilityTimeMeter | |
| display | i=block/star |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| tokensChanged | double |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode | Description |
|---|---|---|---|---|---|---|
| numTokens | number of tokens | tokensChanged | vector | tk | linear |
Source code
simple GroupEligibilityTimeMeter extends EligibilityTimeMeter { parameters: string groupEligibilityTimeTableModule; // Relative path to the eligibilityTimeTable @class(GroupEligibilityTimeMeter); }File: src/inet/protocolelement/shaper/GroupEligibilityTimeMeter.ned