ThruputMeter
Package: inet.common.misc
ThruputMeter
simple moduleThruput measurement utility module.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| startTime | double | 0s | |
| batchSize | int | 50 | |
| maxInterval | double | 1s |
Properties
| Name | Value | Description |
|---|---|---|
| class | ThruputMeter | |
| networkNode | ||
| display | i=block/timer |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Source code
// // Thruput measurement utility module. // simple ThruputMeter extends SimpleModule like IHook { parameters: @class(ThruputMeter); @networkNode(); double startTime @unit(s) = default(0s); int batchSize = default(50); double maxInterval @unit(s) = default(1s); @display("i=block/timer"); gates: input in; output out; }File: src/inet/common/misc/ThruputMeter.ned