RTEMS 6.1-rc5
|
This source file contains the definition of _Thread_CPU_budget_reset_timeslice and the implementation of _Thread_CPU_budget_consume_and_yield() and _Thread_CPU_budget_set_to_ticks_per_timeslice(). More...
#include <rtems/score/threadcpubudget.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/statesimpl.h>
#include <rtems/score/watchdogticks.h>
Functions | |
void | _Thread_CPU_budget_consume_and_yield (Thread_Control *the_thread) |
Consumes one time quantum of the available CPU budget of the thread and yields the thread if the available CPU budget is fully consumed. | |
void | _Thread_CPU_budget_set_to_ticks_per_timeslice (Thread_Control *the_thread) |
Sets the available CPU budget of the thread to the configured clock ticks per timeslice. | |
Variables | |
const Thread_CPU_budget_operations | _Thread_CPU_budget_reset_timeslice |
These CPU budget operations allocate timeslices to the thread. | |
This source file contains the definition of _Thread_CPU_budget_reset_timeslice and the implementation of _Thread_CPU_budget_consume_and_yield() and _Thread_CPU_budget_set_to_ticks_per_timeslice().