diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-01-11 04:17:10 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-01-11 04:24:18 -0500 |
commit | 642049ba7d30b24fb9927a22d44d6b84139668dc (patch) | |
tree | eaa73b8f77c949b1a56ab0271bda5be7b3746725 /include | |
parent | d427bf8561f488bfec36b14b02af5b8ca0b2782f (diff) |
Make release_ts a bit more userfriendly
The -f option required manually *also* setting
the -w option. This is no longer required.
While at it, simplify the code by using the /proc interface.
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 677f9a9..3777088 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -121,6 +121,7 @@ int requested_to_preempt(void); | |||
121 | int wait_for_ts_release(void); | 121 | int wait_for_ts_release(void); |
122 | int release_ts(lt_t *delay); | 122 | int release_ts(lt_t *delay); |
123 | int get_nr_ts_release_waiters(void); | 123 | int get_nr_ts_release_waiters(void); |
124 | int read_litmus_stats(int *ready, int *total); | ||
124 | 125 | ||
125 | #define __NS_PER_MS 1000000 | 126 | #define __NS_PER_MS 1000000 |
126 | 127 | ||