TimeTagBase

TimeTagBase

class

C++ definition

This is a base class for various time measurement tags.

Inheritance diagram

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

Extends

Name Type Description
TagBase class

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn't have any fields.

Known subclasses

Name Type Description
DelayingTimeTag class

This tag specifies the delaying time. It can be attached to a specific region of a packet in order to sum up the delaying time spent in each packet delayer module.

ElapsedTimeTag class

This tag specifies the elapsed time. It can be attached to a specific region of a packet in order to measure the elapsed time.

ProcessingTimeTag class

This tag specifies the processing time. It can be attached to a specific region of a packet in order to sum up the processing time spent in each packet processor module.

PropagationTimeTag class

This tag specifies the propagation time. It can be attached to a specific region of a packet in order to sum up the propagation time spent in each transmission channel.

QueueingTimeTag class

This tag specifies the queueing time. It can be attached to a specific region of a packet in order to sum up the queueing time spent in each queueing module.

TransmissionTimeTag class

This tag specifies the transmission time. It can be attached to a specific region of a packet in order to sum up the transmission time spent in each transmitter.

Fields

Name Type Description
flowNames string[]

flow names for which the times belong

bitTotalTimes simtime_t[]

total bit time summed up for the relevant modules

packetTotalTimes simtime_t[]

total packet time summed up for the relevant modules

Source code

//
// This is a base class for various time measurement tags.
//
class TimeTagBase extends TagBase
{
    string flowNames[]; // flow names for which the times belong
    simtime_t bitTotalTimes[]; // total bit time summed up for the relevant modules
    simtime_t packetTotalTimes[]; // total packet time summed up for the relevant modules
}

File: src/inet/common/TimeTag.msg