#x86 #read #stable

tsc

Read the x86 TSC on stable Rust!

1 unstable release

Uses old Rust 2015

0.1.0 Mar 3, 2018

#88 in #x86

Download history 27/week @ 2024-07-29 17/week @ 2024-08-05 20/week @ 2024-08-12 17/week @ 2024-08-19 32/week @ 2024-08-26 29/week @ 2024-09-02 31/week @ 2024-09-09 29/week @ 2024-09-16 30/week @ 2024-09-23 25/week @ 2024-09-30 34/week @ 2024-10-07 13/week @ 2024-10-14 14/week @ 2024-10-21 16/week @ 2024-10-28 32/week @ 2024-11-04 19/week @ 2024-11-11

82 downloads per month

MIT license

2KB

This crate allows you to read the x86 timestamp counter (TSC) for when you require very low overhead time measurements.

Unlike other crates, this one does not require nightly Rust as it uses cc instead of inline asm - at the cost of an additional call+ret on every invocation.

No runtime deps

~0–280KB