MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / timing_method

Function timing_method

src/process/prctl.rs:350–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348#[inline]
349#[doc(alias = "PR_GET_TIMING")]
350pub fn timing_method() -> io::Result<TimingMethod> {
351 unsafe { prctl_1arg(PR_GET_TIMING) }.and_then(TryInto::try_into)
352}
353
354const PR_SET_TIMING: c_int = 14;
355

Callers

nothing calls this directly

Calls 1

prctl_1argFunction · 0.85

Tested by

no test coverage detected