RTOS definitions: temporal allocationactivation, execution time

What are the following definitions for RTOS tasks (applications):
execution time
temporal allocation
temporal activation
memory allocation


  • Hi blondeFR:
    The question which you asked is the most crucial in any RTOS.
    The exection time of a task is the time the CPU executes this task. It is related to this task'content and the CPU frequency.

    The temporal allocation of a task is related to the specific task scheduling algorithm. In priority preemptive scheduling the CPU has been implementing a task until a higher priority task reaches, such as uCOS-II. But in Round-robin scheduling, it's completely different. In this mode the CPU assigns time slices to each task in equal portions(we can define this portion) and in circular order, handling all tasks without priority. Of course, it is better to combine these two scheduling, which is now used by most RTOS, such as CooCox CoOS, RTX, FreeRTOS...

    The temporal activation is related to the real-time of a RTOS. This time is related with task creating, task switching and sending information between different tasks. The temporal activation is disparate between different RTOS, which is one of the most important criterion for a RTOS, and a good RTOS must have little activation time.

    In a RTOS,the memory allocation has two methods, one is static memory allocation, the other is dynamic memory allocation. You can use any method of your own choice.

    [link=http://www.coocox.org]www.coocox.org[/link](a free and open RTOS)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion