Trace time resolution
Posted by Nobody/Anonymous on November 20, 2006
Hi,
What is the time resolution, presented by the trace utillity?
The Tickrate is 1 mS.
Here is a little bit of the trace:
10301.0000005
10301.0500005
10301.0500009
10316.0000009
10316.0000000
10316.0500000
10316.0500009
10350.0000009
10350.0000006
10350.0500006
10350.0500009
Best regards, Frank
RE: Trace time resolution
Posted by Nobody/Anonymous on November 20, 2006
By default the trace cannot determine time resolution below one tick so to maintain the correct sequence of context switches it adds a small (0.05) increment to readings that have the same time stamp. This means when you view the graph you get the correct sequence information but cannot determine the exact time (below 1 tick period).
You can instead use a free running timer to generate the time stamp instead of the tick time. This can give you better resolution but you have to also handle overflows.