Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner