#metrics #no-alloc

no-std peach_metrics

Low level CPU and OS timing functions for instrumention-based profiling

8 releases

Uses new Rust 2024

0.2.2 Oct 2, 2025
0.2.1 Sep 28, 2025
0.1.4 Sep 25, 2025

#222 in No standard library

Download history 591/week @ 2025-09-24 181/week @ 2025-10-01 17/week @ 2025-10-08 19/week @ 2025-10-15 5/week @ 2025-10-22

233 downloads per month
Used in peach_profiler

MIT/Apache

6KB
80 lines

Peach Metrics

The Peach Profiler's timing crate where platform specific timing functions are found. Can be used to guess the cpu's current clock speed, get the cpu's timings and high-resolution os-supplied wallclock time.

Features

  • No std
  • Compatible with x86_64, x86, aarch64 and unix/windows systems.

Dependencies

~0–3MB
~55K SLoC