Start Timer

Associate named timer to each arriving entity independently and start timing




This block associates a named timer to each arriving entity independently and starts the timer. If the entity was previously associated with a timer of the same name, then the block either continues or restarts that timer, depending on your setting for the If timer has already started parameter; the Warn and continue option can be helpful for debugging or preventing modeling errors. Other timers, if any, associated with the arriving entity are unaffected.

This block works with the Read Timer block. To read the value of the timer named in this block, reference the timer name in the Read Timer block. For more information about using this pair of blocks, see Measure Point-to-Point Delays.


Entity Input Ports

INPort for arriving entities.

Entity Output Ports

OUTPort for departing entities, which have named timers attached to them.

Signal Output Ports

LabelDescriptionTime of Update When Statistic Is On
#dNumber of entities that have departed from this block since the start of the simulation.After entity departure

The initial output value is 0. This value is in effect from the start of the simulation until the first update by the block.

Dialog Box

Start Timer Tab

Timer tag

Name of the timer to associate with each entity. Enter a new timer tag, or restart a previous timer by choosing it in the drop-down list.

If timer has already started

Behavior of the block if an arriving entity already has a timer with the specified timer tag.

Statistics Tab

These parameters determine whether the block produces data at signal output ports or omits those ports.

Number of entities departed

Allows you to use the signal output port labeled #d.

Was this topic helpful?