diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-11-06 13:20:29 -0500 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-11-06 13:20:29 -0500 |
| commit | 5091ac6ebbfb121ba218d04fa0d59cbdf4ba2bb1 (patch) | |
| tree | bcd193af7f2c089a5958a0748b4c0799ea53a406 /include | |
| parent | d41b67e9ebe9b5fe52c1268e038da4cb6cfd40ac (diff) | |
LITMUS: export CPU stagger offset
Let scheduler plugins inquire stagger offsets.
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus/litmus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index b565b65712..7ef5a62d67 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
| @@ -221,4 +221,7 @@ static inline quanta_t time2quanta(lt_t time, enum round round) | |||
| 221 | return (quanta_t) time; | 221 | return (quanta_t) time; |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | /* By how much is cpu staggered behind CPU 0? */ | ||
| 225 | u64 cpu_stagger_offset(int cpu); | ||
| 226 | |||
| 224 | #endif | 227 | #endif |
