misc/libcpucycles 20260105 OpenBSD
library for counting CPU cycles
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Miguel Landaeta <[email protected]>
- Categories
- misc, lang/python
Description
libcpucycles provides a simple API to access hardware precise timers to understand and improve software performance.
libcpucycles understands machine-level cycle counters for most architectures. libcpucycles also understands common OS-level mechanisms, which give varying levels of accuracy.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | misc/libcpucycles | 20260105 |
| FreeBSD | benchmarks/libcpucycles | 20260901 |
| DragonFly | benchmarks/libcpucycles | 20240318_2 |
Install
Binary package:
pkg_add libcpucycles
From the ports tree:
cd /usr/ports/misc/libcpucycles && make install
Dependencies
Build dependencies 1
No port depends on this one.