diff options
author | phk <phk@FreeBSD.org> | 2003-01-29 11:29:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-29 11:29:22 +0000 |
commit | 13e0104093cd42571839d9306eaa407ea60dbe4e (patch) | |
tree | 96535f7d70e9000f66a44f3658200b49db882ffd /sys/sys/timetc.h | |
parent | 6284753cacd2c35b53f3bc80834127aefbc758e4 (diff) | |
download | FreeBSD-src-13e0104093cd42571839d9306eaa407ea60dbe4e.zip FreeBSD-src-13e0104093cd42571839d9306eaa407ea60dbe4e.tar.gz |
Move timecounters notion of frequency to 64 bits.
[WARNING: CPUs in the distant future may be closer than they appear!]
Diffstat (limited to 'sys/sys/timetc.h')
-rw-r--r-- | sys/sys/timetc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/timetc.h b/sys/sys/timetc.h index f0d70d5..bc6a472 100644 --- a/sys/sys/timetc.h +++ b/sys/sys/timetc.h @@ -47,7 +47,7 @@ struct timecounter { */ u_int tc_counter_mask; /* This mask should mask off any unimplemented bits. */ - u_int32_t tc_frequency; + u_int64_t tc_frequency; /* Frequency of the counter in Hz. */ char *tc_name; /* Name of the timecounter. */ @@ -59,7 +59,7 @@ struct timecounter { extern struct timecounter *timecounter; -u_int32_t tc_getfrequency(void); +u_int64_t tc_getfrequency(void); void tc_init(struct timecounter *tc); void tc_setclock(struct timespec *ts); void tc_ticktock(void); |