MCPcopy Create free account
hub / github.com/PLSysSec/wave / start_timer

Function start_timer

src/stats/timing.rs:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108#[inline]
109pub fn start_timer() -> u64 {
110 unsafe {
111 __cpuid_count(0, 0);
112 _rdtsc() as u64
113 }
114}
115
116#[inline]
117pub fn stop_timer() -> u64 {

Calls

no outgoing calls

Tested by

no test coverage detected