MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / main

Function main

timing_test/src/main.rs:9–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8#[no_mangle]
9fn main() {
10 loop {
11 let _ = syscalls::receive(&STDIN);
12 debug_println!("[timing_test] TSC: {} microseconds: {}",
13 time::time_stamp_counter(),
14 time::microseconds_monotonic());
15 syscalls::thread_yield();
16 }
17}

Callers

nothing calls this directly

Calls 2

receiveFunction · 0.85
thread_yieldFunction · 0.85

Tested by

no test coverage detected