Quality RTOS & Embedded Software

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


vTaskGetRunTimeStats problem ...

Posted by debugasm on November 13, 2014


my system is in running from a few days. After call a function "vTaskGetRunTimeStats" I obtain this value for IDLE process:

... IDLE, 2497449962, 267% ...

2497449962 --> 0x94DC0FEA

Can you solve this problem ?


vTaskGetRunTimeStats problem ...

Posted by edwards3 on November 13, 2014

If it has been running a few days it has probably just overflowed. You can slow the run time stats clock to get a longer time at the cost of resolution. Normally the stats are just used over a short period to see how the application is running during development.

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

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


FreeRTOS and other embedded software careers at AWS.

Latest News

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

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

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