9 releases

✓ Uses Rust 2018 edition

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

#51 in Memory management

Download history 23/week @ 2019-05-25 7/week @ 2019-06-01 21/week @ 2019-06-08 18/week @ 2019-06-15 92/week @ 2019-06-22 14/week @ 2019-06-29 77/week @ 2019-07-06 16/week @ 2019-07-13 18/week @ 2019-07-20 6/week @ 2019-07-27 7/week @ 2019-08-03 10/week @ 2019-08-10 2/week @ 2019-08-17 19/week @ 2019-08-24 37/week @ 2019-08-31

106 downloads per month

BSD-3-Clause

11KB
122 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–335KB