aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h
index adec0ee..70e7552 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -72,6 +72,14 @@ int set_rt_task_param(pid_t pid, struct rt_task* param);
72int get_rt_task_param(pid_t pid, struct rt_task* param); 72int get_rt_task_param(pid_t pid, struct rt_task* param);
73 73
74/** 74/**
75 * Create a new reservation/container (not supported by all plugins).
76 * @param rtype The type of reservation to create.
77 * @param config optional reservation-specific configuration (may be NULL)
78 * @return 0 on success
79 */
80int reservation_create(int rtype, void *config);
81
82/**
75 * Convert a partition number to a CPU identifier 83 * Convert a partition number to a CPU identifier
76 * @param partition Partition number 84 * @param partition Partition number
77 * @return CPU identifier for given partition 85 * @return CPU identifier for given partition