mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
This uses sched_getcpu(2) to find the CPU we are scheduled on and then cpufreq(4) to find the frequency of that CPU. The caller is responsible for pinning the thread to one CPU and/or disabling frequency scaling if a consistent result is required. |
||
---|---|---|
.. | ||
patch-cpucycles_wrapper.c |