GroupEligibilityTimeMeter¶
Package: inet.protocolelement.shaper
simple module GroupEligibilityTimeMeter
Extends the EligibilityTimeMeter with scheduler groups.
The calculation of the eligibility time takes into account the eligibility times of all
streams of the same group.
This module is part of the asynchronous shaper infrastructure.
See also: ~ATS8021qFilter, EligibilityTimeGate, EligibilityTimeFilter, EligibilityTimeQueue, EligibilityTimeTag
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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,:ref:2 <neddoc-msg-inet-iclock>); 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 |
|---|---|---|---|
packetPulledIn |
|||
packetPulledOut |
|||
packetPushedIn |
|||
packetPushedOut |
|||
tokensChanged |
double |
Statistics¶
Name |
Title |
Source |
Record |
Unit |
Interpolation Mode |
Description |
|---|---|---|---|---|---|---|
flowIncomingDataRate |
flow specific incoming data rate |
throughput(demuxFlow(merge(packetPushedIn, packetPulledIn))) |
vector |
bps |
linear |
the statistical value is the flow specific data rate of the incoming packets |
flowIncomingPacketLengths |
flow specific incoming packet lengths |
packetLength(demuxFlow(merge(packetPushedIn, packetPulledIn))) |
sum,histogram,vector |
b |
none |
the statistical value is the flow specific length of the incoming packet |
flowOutgoingDataRate |
flow specific outgoing data rate |
throughput(demuxFlow(merge(packetPushedOut, packetPulledOut))) |
vector |
bps |
linear |
the statistical value is the flow specific data rate of the outgoing packets |
flowOutgoingPacketLengths |
flow specific outgoing packet lengths |
packetLength(demuxFlow(merge(packetPushedOut, packetPulledOut))) |
sum,histogram,vector |
b |
none |
the statistical value is the flow specific length of the outgoing packet |
incomingDataRate |
incoming data rate |
throughput(merge(packetPushedIn, packetPulledIn)) |
vector |
bps |
linear |
the statistical value is the data rate of the incoming packets |
incomingPacketLengths |
incoming packet lengths |
packetLength(merge(packetPushedIn, packetPulledIn)) |
sum,histogram,vector |
b |
none |
the statistical value is the length of the incoming packet |
incomingPackets |
incoming packets |
merge(packetPushedIn, packetPulledIn) |
count |
pk |
the statistical value is the incoming packet |
|
numTokens |
number of tokens |
tokensChanged |
vector |
tk |
linear |
|
outgoingDataRate |
outgoing data rate |
throughput(merge(packetPushedOut, packetPulledOut)) |
vector |
bps |
linear |
the statistical value is the data rate of the outgoing packets |
outgoingPacketLengths |
outgoing packet lengths |
packetLength(merge(packetPushedOut, packetPulledOut)) |
sum,histogram,vector |
b |
none |
the statistical value is the length of the outgoing packet |
outgoingPackets |
outgoing packets |
merge(packetPushedOut, packetPulledOut) |
count |
pk |
the statistical value is the outgoing packet |
Source code¶
//
// Extends the `EligibilityTimeMeter` with scheduler groups.
// The calculation of the eligibility time takes into account the eligibility times of all
// streams of the same group.
//
// This module is part of the asynchronous shaper infrastructure.
//
// @see ~ATS8021qFilter, ~EligibilityTimeGate, ~EligibilityTimeFilter, ~EligibilityTimeQueue, ~EligibilityTimeTag
//
simple GroupEligibilityTimeMeter extends EligibilityTimeMeter
{
parameters:
string groupEligibilityTimeTableModule; // Relative path to the eligibilityTimeTable
@class(GroupEligibilityTimeMeter);
}
File: src/inet/protocolelement/shaper/GroupEligibilityTimeMeter.ned