ThruputMeter

Package: inet.common.misc

ThruputMeter

simple module

Thruput measurement utility module.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters

Name Type Default value Description
startTime double 0s
batchSize int 50
maxInterval double 1s

Properties

Name Value Description
networkNode
display i=block/timer

Gates

Name Direction Size Description
in input
out output

Source code

//
// Thruput measurement utility module.
//
simple ThruputMeter like IHook
{
    parameters:
        @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