aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/budget.h
blob: 559cfcdda61a54c6a47d881b838173af02f2e6c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#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_eq((t)->rt_param.job_params.deadline, \
				    (t)->rt_param.job_params.release))
#endif