diff options
Diffstat (limited to 'include/litmus.h')
-rw-r--r-- | include/litmus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 7ee13dc..c578009 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -4,6 +4,8 @@ | |||
4 | #include <litmus/rt_param.h> | 4 | #include <litmus/rt_param.h> |
5 | #include <sys/types.h> | 5 | #include <sys/types.h> |
6 | 6 | ||
7 | #include "cycles.h" /* for null_call() */ | ||
8 | |||
7 | typedef int pid_t; /* PID of a task */ | 9 | typedef int pid_t; /* PID of a task */ |
8 | 10 | ||
9 | /* obtain the PID of a thread */ | 11 | /* obtain the PID of a thread */ |
@@ -101,5 +103,7 @@ static inline int open_srp_sem(int fd, int name) | |||
101 | } | 103 | } |
102 | 104 | ||
103 | 105 | ||
106 | /* syscall overhead measuring */ | ||
107 | int null_call(cycles_t *timestamp); | ||
104 | 108 | ||
105 | #endif | 109 | #endif |