BSD Ports

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

SystemPortVersion
OpenBSDmisc/libcpucycles20260105
FreeBSDbenchmarks/libcpucycles20260901
DragonFlybenchmarks/libcpucycles20240318_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.