C

Package: inet.examples.ospfv2.fulltest

C

channel

(no description)

C

Inheritance diagram

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

Used in compound modules

Name Type Description
OSPF_Area1 compound module (no description)
OSPF_Area2 compound module (no description)
OSPF_Area3 compound module (no description)

Used in

Name Type Description
OSPF_RFC2328_Fig6 network (no description)

Extends

Name Type Description
ThruputMeteringChannel channel

This channels adds support for thruput metering to the datarate channel. A cDatarateChannel extended with throughput calculation. Values are displayed on the link, using the connection's "t=" or "tt=" display string tag.

Parameters

Name Type Default value Description
disabled bool false
delay double 0.1us

propagation delay

datarate double 100Mbps

bits per second; 0=infinite

ber double 0

bit error rate (BER)

per double 0

packet error rate (PER)

displayAsTooltip bool false
thruputDisplayFormat string "#N"

the format string for display on the link. Leave empty to disable display

Properties

Name Value Description
class ThruputMeteringChannel

Signals

Name Type Unit
channelBusy long
messageSent omnetpp::cMessage
messageDiscarded omnetpp::cMessage

Statistics

Name Title Source Record Unit Interpolation Mode
packetsDiscarded constant1(messageDiscarded) count? none
busy channelBusy vector? sample-hold
utilization timeavg(channelBusy) last?
packetBytes packetBytes(messageSent) sum? B none
throughput sumPerDuration(packetBits(messageSent)) last? bps
packets constant1(messageSent) count? none

Source code

channel C extends ThruputMeteringChannel
{
    delay = 0.1us;
    datarate = 100Mbps;
    thruputDisplayFormat = "#N";
}

File: examples/ospfv2/fulltest/FullTest.ned