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] How long is task changingPosted by Sarun Chattunyakit on May 3, 2010 I'm sorry about my language. I'm Thai and my English is really bad.
I try to port FreeRTOS with LPC2148. And then I create 2 tasks. The first task set P1.22 and another clear P1.22. But I want to know how's long when 1st task change to 2rd task.
Help me please. Thank you for everybody. : )
RE: How long is task changingPosted by Dave on May 4, 2010 Are you yielding after setting the p1.22 pin and trying to measure how long it takes to get from one task to another? The time to change tasks is normally called the context switch time is will vary depending on the processor, crystal, compiler and features included in the build.
RE: How long is task changingPosted by Sarun Chattunyakit on May 4, 2010 Thank you. I'll follow your suggestion. I want to know something about FreeRTOS. Does it have any flag to show that the task is running? Thank you again.
RE: How long is task changingPosted by Dave on May 5, 2010 pxCurrentTCB always points to the running task.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|