diff options
author | mav <mav@FreeBSD.org> | 2010-06-16 15:09:45 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-06-16 15:09:45 +0000 |
commit | 0df344c42a61f9606dffa8573cb075f48ae549fa (patch) | |
tree | 817e56770e5e8dbc1b8239f1e2681f10d4bc6dc4 /include/tgmath.h | |
parent | fc8e5640fde2885c20b71d87518816d05c10ea3a (diff) | |
download | FreeBSD-src-0df344c42a61f9606dffa8573cb075f48ae549fa.zip FreeBSD-src-0df344c42a61f9606dffa8573cb075f48ae549fa.tar.gz |
Freq sysctls are quite heavy due to set of malloc()/free() calls. Avoid
reading current frequency on every period. Instead do it only after
changing and periodically from time to time if somebody else change it.
Also dynamically decrease sampling frequency up to 4 times on inactivity,
Diffstat (limited to 'include/tgmath.h')
0 files changed, 0 insertions, 0 deletions