Go to file
ddidderr e1b90b3889
[deps] cargo update
Updating c-gull            v0.15.44 -> v0.16.1
Updating c-scape           v0.15.44 -> v0.16.1
Updating either            v1.11.0  -> v1.12.0
Updating errno             v0.3.8   -> v0.3.9
Updating eyra              v0.16.10 -> v0.16.11
Updating getrandom         v0.2.14  -> v0.2.15
Updating libc              v0.2.154 -> v0.2.155
Updating linux-raw-sys     v0.4.13  -> v0.4.14  (latest: v0.6.4)
Updating memchr            v2.7.2   -> v2.7.4
Updating num-complex       v0.4.5   -> v0.4.6
Updating origin            v0.18.3  -> v0.18.5
Updating rustix-dlmalloc   v0.1.5   -> v0.1.6
Updating rustix-futex-sync v0.2.1   -> v0.2.2
2024-06-15 09:07:18 +02:00
src [release] cpufreq v1.0.0 2024-05-06 11:41:55 +02:00
.gitignore [release] cpufreq v1.0.0 2024-05-06 11:41:55 +02:00
build.rs [build] use eyra 2024-05-06 11:48:33 +02:00
Cargo.lock [deps] cargo update 2024-06-15 09:07:18 +02:00
Cargo.toml [release] cpufreq v1.0.0-eyra 2024-05-06 11:52:49 +02:00
README.md [release] cpufreq v1.0.0 2024-05-06 11:41:55 +02:00
rust-toolchain.toml [build] use eyra 2024-05-06 11:48:33 +02:00
rustfmt.toml [release] cpufreq v1.0.0 2024-05-06 11:41:55 +02:00

cpufreq

About

Features

A simple tool to show the current average CPU frequency across all CPU cores. Can be given the argument -a to show frequency for each individual core (cores sorted according to their number in the kernel).

Usage

cpufreq [-a]

Design goal

The goal was to create

  • a minimal Linux program with no dependencies
  • that runs on any x86_64 system without the need for a specific C library version to be present
  • and is very fast (takes less than 1ms as of v1.0)

Platform support

This program is linux only. There are no plans to change that.