diff options
author | marcel <marcel@FreeBSD.org> | 2009-12-23 04:48:42 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2009-12-23 04:48:42 +0000 |
commit | 6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830 (patch) | |
tree | 80171d7b1c78845525ce5c95e2ea3ec5883cf92b /sys/ia64/include/clock.h | |
parent | 84986e81a575ba523a5119bdf147f38106fcb2c2 (diff) | |
download | FreeBSD-src-6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830.zip FreeBSD-src-6c6778bb48b1c2300ef6ed51d5ef47cbeaa34830.tar.gz |
Export the bus, cpu and itc frequencies under the hw.freq sysctl node.
The frequencies are in MHz (i.e. a value of 1000 represents 1GHz). The
frequencies are rounded to the nearest whole MHz.
While here, rename and re-type bus_frequency, processor_frequency and
itc_frequency to bus_freq, cpu_freq and itc_freq and make them static.
As unsigned integers, the hw.freq.cpu sysctl can more easily be made
generic (across all architectures) making porting easier.
MFC after: 3 days
Diffstat (limited to 'sys/ia64/include/clock.h')
-rw-r--r-- | sys/ia64/include/clock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ia64/include/clock.h b/sys/ia64/include/clock.h index aa4220a..772fc2a 100644 --- a/sys/ia64/include/clock.h +++ b/sys/ia64/include/clock.h @@ -14,7 +14,6 @@ #define CLOCK_VECTOR 254 extern uint64_t ia64_clock_reload; -extern uint64_t itc_frequency; #endif |