Skip to main content

rq_clock_sample

Function rq_clock_sample 

Source
pub fn rq_clock_sample() -> RqClockSample
Expand description

Returns one coherent source sample for the current owner runqueue.

Runqueue mutation is owner-only: remote operations publish into the owner inbox instead of locking another CPU’s runqueue. Like Linux update_rq_clock() on the local rq, the runtime therefore samples the pinned current CPU and must not repeat a remote CPU lookup. Scheduler absolute values must never be compared directly with monotonic deadlines.