Searched defs:CycleNum (Results 1 – 2 of 2) sorted by relevance
52 pub struct CycleNum(pub u64); struct55 impl CycleNum { implementation66 pub fn add(&self, other: CycleNum) -> CycleNum { in add()70 pub fn div(&self, other: CycleNum) -> CycleNum { in div()180 fn read(&self) -> CycleNum; in read()190 fn vread(&self) -> Result<CycleNum, SystemError> { in vread()615 pub fn clocksource_cyc2ns(cycles: CycleNum, mult: u32, shift: u32) -> u64 { in clocksource_cyc2ns()
35 fn read(&self) -> CycleNum { in read()