Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS