mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
fb16871572
libcpucycles is a microlibrary for counting CPU cycles. Cycle counts are not as detailed as Falk diagrams but are the most precise timers available to typical software; they are central tools used in understanding and improving software performance. The libcpucycles API is simple: include <cpucycles.h>, call cpucycles() to receive a long long whenever desired, and link with -lcpucycles. Internally, libcpucycles understands machine-level cycle counters for amd64 (both PMC and TSC), arm32, arm64 (both PMC and VCT), mips64, ppc32, ppc64, riscv32, riscv64, s390x, sparc64, and x86. libcpucycles also understands four OS-level mechanisms, which give varying levels of accuracy: mach_absolute_time, perf_event, CLOCK_MONOTONIC, and, as a fallback, microsecond-resolution gettimeofday. When the program first calls cpucycles(), libcpucycles automatically benchmarks the available mechanisms and selects the mechanism that does the best job. Subsequent cpucycles() calls are thread-safe and very fast. An accompanying cpucycles-info program prints a summary of cycle-counter accuracy. WWW: https://cpucycles.cr.yp.to/ Tested by: jhibbits |
||
---|---|---|
.. | ||
ali | ||
apib | ||
autobench | ||
blogbench | ||
bombardier | ||
bonnie | ||
bonnie++ | ||
clpeak | ||
cpipe | ||
dbench | ||
ddosify | ||
dhrystone | ||
dkftpbench | ||
fhourstones | ||
filebench | ||
fio | ||
flamegraph | ||
flops | ||
flowgrind | ||
forkbomb | ||
glmark2 | ||
gtkperf | ||
hey | ||
himenobench | ||
hipercontracer | ||
hpl | ||
httperf | ||
hyperfine | ||
imb | ||
inferno | ||
interbench | ||
ior | ||
iorate | ||
iozone | ||
ipc-bench | ||
iperf | ||
iperf3 | ||
kdiskmark | ||
libcelero | ||
libcpucycles | ||
libmicro | ||
linux-gputest | ||
linux-unigine-heaven | ||
linux-unigine-sanctuary | ||
linux-unigine-superposition | ||
linux-unigine-tropics | ||
linux-unigine-valley | ||
linux-vdbench | ||
lmbench | ||
lzbench | ||
mangohud | ||
mdtest | ||
mst-bench | ||
nbench | ||
netio | ||
netperf | ||
netperfmeter | ||
nosqlbench | ||
nqueens | ||
nttcp | ||
nuttcp | ||
octave-forge-benchmark | ||
p5-Benchmark-Forking | ||
p5-Benchmark-Stopwatch | ||
p5-Dumbbench | ||
pathchirp | ||
pathload | ||
pathrate | ||
pear-Benchmark | ||
perftest | ||
phoronix-test-suite | ||
pipebench | ||
plow | ||
polygraph | ||
postal | ||
postmark | ||
py-asv | ||
py-asv-runner | ||
py-locust | ||
py-naarad | ||
py-throughpy | ||
py-zopkio | ||
raidtest | ||
randomio | ||
rubygem-benchmark | ||
rubygem-benchmark-ips | ||
rubygem-benchmark-memory | ||
rubygem-derailed_benchmarks | ||
rubygem-gitlab-derailed_benchmarks | ||
rubygem-railsbench | ||
scimark2 | ||
scimark2c | ||
scimark4c | ||
shellbench | ||
siege | ||
sipp | ||
slowloris | ||
smhasher | ||
spp | ||
stream | ||
stress-ng | ||
sysbench | ||
tcpblast | ||
thrulay | ||
tinymembench | ||
tsung | ||
ttcp | ||
typometer | ||
ubench | ||
uica | ||
unixbench | ||
uperf | ||
vegeta | ||
vkmark | ||
vkoverhead | ||
vkpeak | ||
webbench | ||
wrk | ||
Makefile |