1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/benchmarks
Robert Clausecker fb16871572 benchmarks/libcpucycles: Microlibrary for counting CPU cycles
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
2024-10-30 10:00:37 +01:00
..
ali
apib
autobench
blogbench
bombardier
bonnie
bonnie++
clpeak
cpipe
dbench
ddosify
dhrystone
dkftpbench
fhourstones
filebench
fio benchmarks/fio: Update to 3.38 2024-10-03 07:33:31 +02:00
flamegraph
flops
flowgrind
forkbomb
glmark2
gtkperf
hey
himenobench
hipercontracer */*: bump consumers after devel/boost* update 2024-10-03 13:25:14 +03:00
hpl
httperf
hyperfine
imb
inferno
interbench
ior
iorate
iozone
ipc-bench
iperf
iperf3
kdiskmark
libcelero
libcpucycles benchmarks/libcpucycles: Microlibrary for counting CPU cycles 2024-10-30 10:00:37 +01:00
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 benchmarks/p5-Dumbbench: Update to 0.505 2024-10-23 05:58:17 +08:00
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 benchmarks/rubygem-derailed_benchmarks: update to 2.2.1 2024-10-23 07:59:06 +03:00
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 benchmarks/uica: update to g20240114+2022.12 2024-10-28 13:41:49 +01:00
unixbench
uperf
vegeta
vkmark
vkoverhead
vkpeak
webbench
wrk
Makefile benchmarks/libcpucycles: Microlibrary for counting CPU cycles 2024-10-30 10:00:37 +01:00