Lines Matching refs:PosixTimeSpec
54 pub struct PosixTimeSpec { struct
59 impl PosixTimeSpec { argument
61 pub fn new(sec: i64, nsec: i64) -> PosixTimeSpec { in new() argument
62 return PosixTimeSpec { in new()
81 return PosixTimeSpec::default(); in now_cpu_time()
91 return PosixTimeSpec::new(0, 0); in now_cpu_time()
101 impl Sub for PosixTimeSpec { implementation
110 impl From<Duration> for PosixTimeSpec { implementation
112 PosixTimeSpec { in from()
119 impl From<PosixTimeval> for PosixTimeSpec { implementation
121 PosixTimeSpec { in from()
128 impl From<PosixTimeSpec> for Duration {
129 fn from(val: PosixTimeSpec) -> Self { in from()