view xen/include/asm-ia64/time.h @ 17200:16f6435a9d07

[IA64] get_wallclock also returns NOW value.

At least sched_poll hypercall needs to have access to the NOW value
(time since boot). This patch makes NOW available from sioemu.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Mon Mar 10 11:10:46 2008 -0600 (2008-03-10)
parents 430a036ab261
line source
1 #ifndef _ASM_TIME_H_
2 #define _ASM_TIME_H_
4 #include <asm/linux/time.h>
5 #include <asm/timex.h>
7 struct tm;
8 struct tm wallclock_time(void);
10 void get_wallclock(uint64_t *sec, uint64_t *nsec, uint64_t *now);
12 #endif /* _ASM_TIME_H_ */