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

Method clear

src/thread/sched.rs:67–69  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

65 /// Zeroes the `CpuSet`.
66 #[inline]
67 pub fn clear(&mut self) {
68 backend::thread::cpu_set::CPU_ZERO(&mut self.cpu_set)
69 }
70}
71
72impl Default for CpuSet {

Callers 9

test_spare_capacityFunction · 0.45
ptsnameFunction · 0.45
with_recv_msghdrFunction · 0.45
ptsnameFunction · 0.45
with_recv_msghdrFunction · 0.45
_ttynameFunction · 0.45
_getcwdFunction · 0.45
_readlinkFunction · 0.45
_readlinkatFunction · 0.45

Calls 1

CPU_ZEROFunction · 0.50

Tested by 1

test_spare_capacityFunction · 0.36