diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-10-31 14:02:39 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-10-31 14:02:39 +0000 |
commit | 3ac61e94cfe2532482b98002a5e2730f454feec7 (patch) | |
tree | b85591aba12a71c5868ceb836c8cf9b101dece53 /xen/include/xen/timer.h | |
parent | 4decddb1845ef436e39283f13020d7d5325a8864 (diff) | |
download | xen-3ac61e94cfe2532482b98002a5e2730f454feec7.tar.gz xen-3ac61e94cfe2532482b98002a5e2730f454feec7.tar.bz2 xen-3ac61e94cfe2532482b98002a5e2730f454feec7.zip |
Change timer implementation to allow variable 'slop' in how late
timers are fired. The default continues to be 50us, but this can be
configured on Xen's command line.
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Wei Gang <gang.wei@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/timer.h')
-rw-r--r-- | xen/include/xen/timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/xen/timer.h b/xen/include/xen/timer.h index 6d4c0fc4fb..f3d2705d82 100644 --- a/xen/include/xen/timer.h +++ b/xen/include/xen/timer.h @@ -15,12 +15,13 @@ struct timer { /* System time expiry value (nanoseconds since boot). */ s_time_t expires; + s_time_t expires_end; /* Position in active-timer data structure. */ union { /* Timer-heap offset. */ unsigned int heap_offset; - /* Overflow linked list. */ + /* Linked list. */ struct timer *list_next; }; |