aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h
index b9dbdb5..72f1ad4 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -402,6 +402,16 @@ static inline int open_dflp_sem(int fd, int name, int cpu)
402} 402}
403 403
404/** 404/**
405 * Get budget information from the scheduler (in nanoseconds).
406 * @param expended pointer to time value in wich the total
407 * amount of already used-up budget will be stored.
408 * @param remaining pointer to time value in wich the total
409 * amount of remaining budget will be stored.
410 */
411
412int get_current_budget(lt_t *expended, lt_t *remaining);
413
414/**
405 * Do nothing as a syscall 415 * Do nothing as a syscall
406 * @param timestamp Cyclecount before calling 416 * @param timestamp Cyclecount before calling
407 * Can be used for syscall overhead measuring */ 417 * Can be used for syscall overhead measuring */