FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2006 Threads] Trace time resolutionPosted 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 resolutionPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|