morpheus_network::asm::core::tsc

Function read_tsc

Source
pub fn read_tsc() -> u64
Expand description

Read TSC (non-serializing).

Fast (~40 cycles) but may be reordered with surrounding instructions. Use for timing intervals where exact ordering isn’t critical.