aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/budget.h
blob: 062df818de455366c00916498325c251916867ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _LITMUS_BUDGET_H_
#define _LITMUS_BUDGET_H_

/* Update the per-processor enforcement timer (arm/reproram/cancel) for
 * the next task. */
void update_enforcement_timer(struct task_struct* t);

void prepare_for_next_server(struct task_struct* t,int forced);

#define job_behind(t)\
	(lt_before((t)->rt_param.job_params.real_release, get_release(t)))

void server_release(struct task_struct *t);
void task_release(struct task_struct *t);
#endif