I could use
'benchmark' module fot this stuf, but I wonder why $Tf
returns the same value in any place of the script. Maybe it is just
computed at the script start for each message?
it is computed first time is called for each message. The goal was to be
able to print the time for each message and do time based routing. In
such cases it is need to hold same value for many possible operation.
Discussing with some people, a need of PV to give the system time upon
each call could be useful. It is pretty simple, should be there until
next release.
However, for your case, benchmark is more indicated, it has better
accuracy (mili-seconds, nano-seconds).