Package: inet.examples.inet.netperfmeter
accessChannel
channel(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| testNetwork | network | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| DatarateChannel | channel | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| disabled | bool | false | |
| delay | double | 0.1ms |
propagation delay |
| datarate | double | 1 Gbps |
bits per second; 0=infinite |
| ber | double | 0 |
bit error rate (BER) |
| per | double | 0 |
packet error rate (PER) |
Properties
| Name | Value | Description |
|---|---|---|
| class | cDatarateChannel | |
| display | ls=blue,5 |
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 accessChannel extends DatarateChannel { datarate = default(1 Gbps); delay = default(0.1ms); ber = default(0); per = default(0); @display("ls=blue,5"); }File: examples/inet/netperfmeter/netperfmeter.ned