pkg.soopen package index

brew / Rang 10416

libcpucycles mit Homebrew, dnf, Nix, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libcpucycles in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install libcpucycles

local Homebrew formula metadata

Linux

Fedora dnfverifiziert · 92%
sudo dnf install libcpucycles

Fedora Rawhide package metadata · libcpucycles · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#libcpucycles

nixpkgs package indexes · pkgs/by-name/li/libcpucycles/package.nix · Quelle: api.github.com

Debian aptverifiziert · 92%
sudo apt install cpucycles

Debian stable package indexes · cpucycles · Quelle: deb.debian.org

Überblick

Paketzusammenfassung

Microlibrary for counting CPU cycles

Befehle und Aliase

  • cpucycles-info
  • cpucycles-open

Verlauf

Projektgeschichte und Nutzung

libcpucycles is a small timing library for counting CPU cycles across multiple CPU and operating-system counter mechanisms. It comes from the cr.yp.to ecosystem associated with Daniel J. Bernstein's performance-oriented cryptographic and systems software.

Projektgeschichte

The official introduction describes libcpucycles as a microlibrary for cycle counting, with a simple API: include `cpucycles.h`, call `cpucycles()`, and link with `-lcpucycles`. The project abstracts machine-level counters such as amd64 TSC/PMC, ARM counters, RISC-V counters, and OS fallbacks such as `mach_absolute_time`, `perf_event`, `CLOCK_MONOTONIC`, and `gettimeofday`.

The release notes visible in the 20250925 documentation show active portability work after the early 2023 tarballs, including s390x counter support, FreeBSD support, arm32-1176 support, a `cpucycles-info` man page, and macOS build fixes.

Adoptionsgeschichte

Adoption is concentrated among developers who need reproducible low-overhead timing for cryptography, benchmarking, and systems tuning. Its appearance in Homebrew, Debian, Ubuntu, Fedora-family packages, and Nix reflects a package-manager role as a tiny measurement primitive rather than an end-user application.

Wie es verwendet wird

Programmers use libcpucycles when they want an architecture-aware cycle counter without writing per-platform assembly and fallback code. Package users also get tools such as `cpucycles-info` and `cpucycles-open`, which help inspect available counters and support benchmarking workflows.

Warum Paket-Nerds sich dafür interessieren

libcpucycles is package-nerd interesting because it packages the messy hardware reality of cycle counters into a minimal library. It is deliberately small, but its value is in the portability table: one dependency handles CPU families and OS timing APIs that would otherwise become build-system conditionals in every benchmark.

Zeitleiste

  • 2023-01-10: Release notes document `cpucycles_version()` and s390x counter work.
  • 2023-01-15: Release notes mention behavior alignment for `cpucycles_version()`.
  • 2024-01-14: Release notes add arm32-1176 counter support, FreeBSD support, and install/license documentation updates.
  • 2024-03-18: Release notes mention macOS porting fixes and the `cpucycles-info` man page.
  • 2025-09-25: Documentation tree published for libcpucycles-20250925.

Related projects

  • Related projects include the broader cr.yp.to software family, architecture-specific cycle counters such as TSC and PMC, Linux `perf_event`, POSIX clocks, and benchmarking code in cryptographic libraries.

Sicherheitslage

Risikostufe: grün

library-like package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • library-like package without higher-risk signals

Signale

  • metadata:library-like

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/cpucyclespersecond

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cpucycles-infocliglobales Executable
cpucycles-opencliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version20260901
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://cpucycles.cr.yp.to/

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://cpucycles.cr.yp.to/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:libcpucycles
Version20260901
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/libcpucycles
Homepagehttps://cpucycles.cr.yp.to/
Upstream-Dokumentationhttps://cpucycles.cr.yp.to/
LizenzLicenseRef-Homebrew-public-domain OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT
Quellarchivhttps://cpucycles.cr.yp.to/libcpucycles-20260625.tar.gz
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibcpucycles
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

cpucycles 0~20240318-2

command-line tool for counting CPU cycles (libcpucycles)

https://cpucycles.cr.yp.to/

sudo apt install cpucycles
  • Section: devel
  • Architecture: amd64
  • Source Package: libcpucycles
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpucycles from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcpucycles-dev 0~20240318-2

library for counting CPU cycles - development files

https://cpucycles.cr.yp.to/

sudo apt install libcpucycles-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcpucycles
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcpucycles-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcpucycles1 0~20240318-2

library for counting CPU cycles

https://cpucycles.cr.yp.to/

sudo apt install libcpucycles1
  • Section: libs
  • Architecture: amd64
  • Source Package: libcpucycles
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcpucycles1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libcpucycles

nix profile install nixpkgs#libcpucycles
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libcpucycles/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cpucycles 0~20240114-1

command-line tool for counting CPU cycles (libcpucycles)

https://cpucycles.cr.yp.to/

sudo apt install cpucycles
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: libcpucycles
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpucycles from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcpucycles-dev 0~20240114-1

library for counting CPU cycles - development files

https://cpucycles.cr.yp.to/

sudo apt install libcpucycles-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libcpucycles
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcpucycles-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcpucycles1 0~20240114-1

library for counting CPU cycles

https://cpucycles.cr.yp.to/

sudo apt install libcpucycles1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libcpucycles
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcpucycles1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

libcpucycles 20260625-2.fc45

Library for counting CPU cycles

https://cpucycles.cr.yp.to/

sudo dnf install libcpucycles
  • License: LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcpucycles
  • 4 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcpucycles from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

libcpucycles-devel 20260625-2.fc45

Development files for libcpucycles

https://cpucycles.cr.yp.to/

sudo dnf install libcpucycles-devel
  • License: LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcpucycles
  • 2 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcpucycles-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

libcpucycles-static 20260625-2.fc45

Static version of the libcpucycles library

https://cpucycles.cr.yp.to/

sudo dnf install libcpucycles-static
  • License: LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcpucycles
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Libcpucycles
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcpucycles-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation