Simple Module ThrPutMeter
Package: pubsub_sim.ThrPutMeter
File: src/ThrPutMeter/ThrPutMeter.ned
C++ definition
Thruput measurement utility module.
Used in compound modules:
If a module type shows up more than once, that means it has been defined in more than one NED file.
Parameters:
Name |
Type |
Default value |
Description |
startTime |
double
|
0s |
|
batchSize |
int
|
10000 |
|
maxInterval |
double
|
1s |
|
Properties:
Name |
Value |
Description |
node |
|
|
display |
i=block/timer_vs |
|
Gates:
Name |
Direction |
Size |
Description |
in |
input |
| |
out |
output |
| |
Source code:
//
// Thruput measurement utility module.
//
simple ThrPutMeter
{
parameters:
@node();
double startTime @unit("s") = default(0s);
int batchSize = default(10000);
double maxInterval @unit("s") = default(1s);
@display("i=block/timer_vs");
gates:
input in;
output out;
}