IBM
Contents Index Previous Next



Timers


For both the realtime and the discrete time simulation, the implementation of the TTCN Exerciser has 64 bit timers. Time is kept as the difference from the timers expiration time and the last time the current time was updated. In realtime mode, the time is updated in the snapshot function. With discrete time simulation, the time is updated at the timeout command. With the 64 bit implementation and the constraint that the resolution is 1 ns, the consequences are that:

Hopefully, this resolution is sufficient for most applications. There are some aspects of discrete simulation that are well worth a special note:

Runtime Timer Errors and Warnings

With the timer implementation, there are also some conditions that may be reported in the conformance log:


http://www.ibm.com/rational
Contents Index Previous Next