summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_condattr_init.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-11-24 18:16:23 +0000
committerbde <bde@FreeBSD.org>1997-11-24 18:16:23 +0000
commitc4476760704a44e0aad712d9447f95b4f2963a61 (patch)
tree8c87d19a18c3d34ece804b990919484de4a56f7b /lib/libpthread/thread/thr_condattr_init.c
parentf48794b9f592747b49a561fac3392de4ae98657b (diff)
downloadFreeBSD-src-c4476760704a44e0aad712d9447f95b4f2963a61.zip
FreeBSD-src-c4476760704a44e0aad712d9447f95b4f2963a61.tar.gz
Added a sysctl (machdep.cputime_clock) to select the clock used by
"high resolution" profiling. The available clocks are: - the i8254 clock - on non-SMP i586's and i686's: the TSC - on systems with I586_PMC_GUPROF configured, and PERFMON configured and available: all the performance counters. This is unfinshed (there are problems with locking out the PERFMON device driver, and with losing calibration after switching the clock), but better than static configuration or writing to kmem. Changed ifdefs to avoid generating code for non-working option combinations.
Diffstat (limited to 'lib/libpthread/thread/thr_condattr_init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud