IMeasurer

Package: inet.common

IMeasurer

module interface

Interface for all standalone measurement modules. These measurement modules can be used in various places such as network interfaces, network nodes, subnetworks or even the whole network. They most often collect statistical results by subscribing to signals of other modules and by doing their calculation internally.

Inheritance diagram

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

Implemented by

Name Type Description
ResidenceTimeMeasurer simple module

Measures the residence time of packet data in network nodes. The measurement is done by tracking every bit individually using their unique identity. For each bit, the measurement starts when the incoming enclosing packet reception ends (or starts) in the network node. Similarly, for each bit, the measurement ends when the outgoing enclosing packet transmission starts (or ends) in the network node.

Used in compound modules

Name Type Description
EthernetSwitch compound module

EthernetSwitch models a Layer 2 Ethernet switch with support for various IEEE 802.1 protocols and features. It provides frame forwarding based on MAC addresses and implements multiple switching technologies.

NodeBase compound module

The fundamental infrastructure for all network nodes focusing on non-communication aspects of network nodes.

Properties

Name Value Description
display i=block/cogwheel

Source code

//
// Interface for all standalone measurement modules.
// These measurement modules can be used in various places such as network
// interfaces, network nodes, subnetworks or even the whole network. They most
// often collect statistical results by subscribing to signals of other modules
// and by doing their calculation internally.
//
moduleinterface IMeasurer
{
    parameters:
        @display("i=block/cogwheel");
}
File: src/inet/common/IMeasurer.ned