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] [May 2010 Threads] Run Time StatisticsPosted by Sarun Chattunyakit on May 8, 2010 How can i use vTaskGetRunTimeStats() I've already set as same as manual. But I got a false result. Thank You
RE: Run Time StatisticsPosted by Dave on May 8, 2010 Like so many posts here, there is not enough information given to allow people to provide a useful answer. For example, which cpu are you using?
RE: Run Time StatisticsPosted by Sarun Chattunyakit on May 9, 2010 I use FreeRTOS with LPC2148 at first pic i don't use vTaskGetRunTimeStats() the result is OK but after i use vTaskGetRunTimeStats() it like that How can i fix it? How can i get the same result like the example? Thank you
RE: Run Time StatisticsPosted by Dave on May 9, 2010 So this is what I am guessing: You have two tasks that are writing out to a terminal. At first they write their text out in turn and the text is output correctly. At some point you call vTaskGetRunTimeStats() and this generates a table that also looks correct, but from that point on the text that is output to the terminal is corrupt. So:
1) Is my guess correct? 2) Have you checked that you are not overflowing the task stacks? 3) Why can I not see your two tasks in the table of tasks you have pasted into your post? 4) How are you taking care of mutual exclusion when writing to the terminal?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|