Fix comment on how to obtain current system time
The comment in xen.h on how to obtain current system time was missing the 32 bit right shift.This patch updates that comment.Signed-Off-By:
Bruce Rogers <[email protected]>
xen/include/public/xen.h +2 -1
@@ -286,7 +286,8 @@uint64_t system_time;/* Time, in nanosecs, since boot. */ /* * Current system time: -* system_time + ((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul +* system_time + +* (((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul) >> 32) * CPU frequency (Hz): * ((10^9 << 32) / tsc_to_system_mul) >> tsc_shift */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel