Skip to main content

cycles_now

Function cycles_now 

Source
pub fn cycles_now() -> u32
Expand description

Read the current DWT cycle counter value. Returns 0 on non-ARM targets (e.g. x86_64 host-pty-server).