9 releases

✓ Uses Rust 2018 edition

0.4.0 Sep 10, 2019
0.3.5 Jul 16, 2019
0.3.4 Aug 14, 2018
0.2.1 Aug 13, 2018

#59 in Memory management

Download history 4/week @ 2019-10-07 27/week @ 2019-10-14 32/week @ 2019-10-21 12/week @ 2019-10-28 10/week @ 2019-11-04 1/week @ 2019-11-11 18/week @ 2019-11-18 9/week @ 2019-11-25 40/week @ 2019-12-02 90/week @ 2019-12-09 115/week @ 2019-12-16 85/week @ 2019-12-23 87/week @ 2019-12-30 56/week @ 2020-01-06 96/week @ 2020-01-13

137 downloads per month

BSD-3-Clause

12KB
135 lines

cache-size

License Crates.io Documentation Build Status

A library to quickly get the size and line size of your CPU caches.

Currently this crate only supports x86 CPUs, since it relies on the CPUID instruction, via the raw_cpuid crate. It is a goal to support other architectures; PRs are welcome!


Check the Intel 64 and IA-32 Architectures Software Developers Manual for more information on the CPUID instruction.


lib.rs:

A library to quickly get the size and line size of your CPU caches.

Currently this crate only supports x86 CPUs, since it relies on the CPUID instruction, via the raw_cpuid crate. It is a goal to support other architectures; PRs are welcome!

Check the Intel 64 and IA-32 Architectures Software Developers Manual for more information on the CPUID instruction.

Dependencies

~195–340KB