diff options
| author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-12 23:30:36 -0400 |
|---|---|---|
| committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-12 23:30:36 -0400 |
| commit | 05b2ec2ab620b102a2d2fb92dac95ddbc1e09143 (patch) | |
| tree | 2950ddff097e1cf781f6ed5fba0c55673e668cce /include | |
| parent | 24141cda67fe0cbe680c2d3ca15a5ba0799ed744 (diff) | |
Add get_control_page() library function
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 6d0ad40..e0f16d3 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
| @@ -120,6 +120,13 @@ static inline int open_srp_sem(int fd, int name) | |||
| 120 | /* syscall overhead measuring */ | 120 | /* syscall overhead measuring */ |
| 121 | int null_call(cycles_t *timestamp); | 121 | int null_call(cycles_t *timestamp); |
| 122 | 122 | ||
| 123 | /* | ||
| 124 | * get control page: | ||
| 125 | * atm it is used only by preemption migration overhead code | ||
| 126 | * but it is very general and can be used for different purposes | ||
| 127 | */ | ||
| 128 | struct control_page* get_ctrl_page(void); | ||
| 129 | |||
| 123 | #ifdef __cplusplus | 130 | #ifdef __cplusplus |
| 124 | } | 131 | } |
| 125 | #endif | 132 | #endif |
