RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Functions | Variables
threadcpubudget.h File Reference

This header file provides interfaces used to implement the CPU budget management of threads. More...

#include <rtems/score/thread.h>

Go to the source code of this file.

Functions

void _Thread_CPU_budget_do_nothing (Thread_Control *the_thread)
 Does nothing.
 
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.
 
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.
 

Variables

const Thread_CPU_budget_operations _Thread_CPU_budget_exhaust_timeslice
 These CPU budget operations allocate timeslices to the thread.
 
const Thread_CPU_budget_operations _Thread_CPU_budget_reset_timeslice
 These CPU budget operations allocate timeslices to the thread.
 

Detailed Description

This header file provides interfaces used to implement the CPU budget management of threads.