RTEMS 6.1-rc1
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. More...
 
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. More...
 
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. More...
 

Variables

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

Detailed Description

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