X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Ftime.h;h=ce321ac5c8f8ceba2f0bdb7640dbc71a9eab6687;hb=268a3dcfea2077fca60d3715caa5c96f9b5e6ea7;hp=c911ef69ea87e2dbb2c7cd8988dce850d13b79be;hpb=592aa999d6a272856c9bfbdaac0cfba1bb37c24c;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/time.h b/include/linux/time.h index c911ef69ea8..ce321ac5c8f 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -123,6 +123,7 @@ extern int do_setitimer(int which, struct itimerval *value, extern unsigned int alarm_setitimer(unsigned int seconds); extern int do_getitimer(int which, struct itimerval *value); extern void getnstimeofday(struct timespec *tv); +extern void getrawmonotonic(struct timespec *ts); extern void getboottime(struct timespec *ts); extern void monotonic_to_bootbased(struct timespec *ts); @@ -131,6 +132,9 @@ extern int timekeeping_valid_for_hres(void); extern void update_wall_time(void); extern void update_xtime_cache(u64 nsec); +struct tms; +extern void do_sys_times(struct tms *); + /** * timespec_to_ns - Convert timespec to nanoseconds * @ts: pointer to the timespec variable to be converted @@ -220,6 +224,7 @@ struct itimerval { #define CLOCK_MONOTONIC 1 #define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_THREAD_CPUTIME_ID 3 +#define CLOCK_MONOTONIC_RAW 4 /* * The IDs of various hardware clocks: