diff options
author | bde <bde@FreeBSD.org> | 2004-05-26 09:43:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-05-26 09:43:38 +0000 |
commit | 8be6dace2bc14f1cd052e5bf5a868d62885110c1 (patch) | |
tree | bd05f5ae9574c66016064bcf95c9f6380fcce0a0 /etc/etc.ia64 | |
parent | f3d67a1356f86fc772d88ffcc2c7b92d00bb9bca (diff) | |
download | FreeBSD-src-8be6dace2bc14f1cd052e5bf5a868d62885110c1.zip FreeBSD-src-8be6dace2bc14f1cd052e5bf5a868d62885110c1.tar.gz |
Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in struct
gmon and struct gmonhdr was originally just to represent the kernel
(profiling) clock frequency and it remains poorly suited to representing
the frequencies of fast counters like the TSC. It broke a year or two
ago. This quick fix keeps it working for another year or month or two
until TSC frequencies can exceed 2^32, by dividing the frequency by 2.
Dividing the frequency by 4 would work for a little longer but would
lose a little too much precision.
Diffstat (limited to 'etc/etc.ia64')
0 files changed, 0 insertions, 0 deletions