Automic VaultAutomic Vault

brew

Installer libcpucycles avec Homebrew, dnf, Nix, apt

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libcpucycles pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libcpucycles

local Homebrew formula metadata

Linux

Fedora dnfvérifié · 92%
sudo dnf install libcpucycles

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

Nixvérifié · 92%
nix profile install nixpkgs#libcpucycles

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

Debian aptvérifié · 92%
sudo apt install cpucycles

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

aperçu

Résumé du paquet

Microlibrary for counting CPU cycles

Commandes et alias

  • cpucycles-info
  • cpucycles-open

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
cpucycles-infocliexécutable global
cpucycles-opencliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-26
version du gestionnaire20260625
gestionnaire mis à jour2026-06-25
données localesOK
amontnot checked
dernière version détectéenon détecté

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

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libcpucycles
Version20260625
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libcpucycles
Page d'accueilhttps://cpucycles.cr.yp.to/
Docs amonthttps://cpucycles.cr.yp.to/
LicenceLicenseRef-Homebrew-public-domain OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT
Archive sourcehttps://cpucycles.cr.yp.to/libcpucycles-20260625.tar.gz
Dernière mise à jour2026-06-25T22:50:15Z
Pulseupdated
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 20260105-1.fc44

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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcpucycles-devel 20260105-1.fc44

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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcpucycles-static 20260105-1.fc44

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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment