Home
last modified time | relevance | path

Searched defs:Timespec (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs28 internal struct Timespec struct
30 const long NanosPerSecond = 1000 * 1000 * 1000;
31 const long NanosPerTick = 100;
32 const long TicksPerSecond = NanosPerSecond / NanosPerTick;
34 static readonly NativeMethods Native = NativeMethods.Get();
35 static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
37 public Timespec(long tv_sec, int tv_nsec) : this(tv_sec, tv_nsec, ClockType.Realtime) in Timespec() method
41 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() method
48 private long tv_sec;
49 private int tv_nsec;
[all …]
/external/rust/crates/chrono/src/
Dsys.rs36 pub struct Timespec { struct
41 impl Timespec { implementation
119 pub fn to_timespec(&self) -> Timespec { in to_timespec()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py99 class Timespec(ctypes.Structure): class
/external/rust/crates/chrono/src/offset/
Dlocal.rs52 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> sys::Timespec { in datetime_to_timespec()