Searched refs:ClockType (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 78 public Timespec(long tv_sec, int tv_nsec) : this(tv_sec, tv_nsec, ClockType.Realtime) in Timespec() 82 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() 91 private ClockType clock_type; 100 return new Timespec(long.MaxValue, 0, ClockType.Realtime); 111 return new Timespec(long.MinValue, 0, ClockType.Realtime); 122 return Native.gprsharp_now(ClockType.Realtime); 151 public Timespec ToClockType(ClockType targetClock) in ToClockType() 171 GrpcPreconditions.CheckState(clock_type == ClockType.Realtime); in ToDateTime() 256 return Native.gprsharp_now(ClockType.Precise); 274 return Native.gprsharp_inf_future(ClockType.Realtime); [all …]
|
D | ClockType.cs | 24 internal enum ClockType enum
|
D | NativeMethods.Generated.cs | 1000 public delegate Timespec gprsharp_now_delegate(ClockType clockType); in gprsharp_now_delegate() 1001 public delegate Timespec gprsharp_inf_future_delegate(ClockType clockType); in gprsharp_inf_future_delegate() 1002 public delegate Timespec gprsharp_inf_past_delegate(ClockType clockType); in gprsharp_inf_past_delegate() 1003 … public delegate Timespec gprsharp_convert_clock_type_delegate(Timespec t, ClockType targetClock); in gprsharp_convert_clock_type_delegate() 1304 public static extern Timespec gprsharp_now(ClockType clockType); in gprsharp_now() 1307 public static extern Timespec gprsharp_inf_future(ClockType clockType); in gprsharp_inf_future() 1310 public static extern Timespec gprsharp_inf_past(ClockType clockType); in gprsharp_inf_past() 1313 … public static extern Timespec gprsharp_convert_clock_type(Timespec t, ClockType targetClock); in gprsharp_convert_clock_type() 1624 public static extern Timespec gprsharp_now(ClockType clockType); in gprsharp_now() 1627 public static extern Timespec gprsharp_inf_future(ClockType clockType); in gprsharp_inf_future() [all …]
|
D | ServerCallHandler.cs | 324 … DateTime realtimeDeadline = newRpc.Deadline.ToClockType(ClockType.Realtime).ToDateTime(); in NewContext()
|
/third_party/benchmark/src/ |
D | timers.h | 39 typedef ChooseClockType::type ClockType; 41 return FpSeconds(ClockType::now().time_since_epoch()).count();
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | timers.h | 39 typedef ChooseClockType::type ClockType; 41 return FpSeconds(ClockType::now().time_since_epoch()).count();
|
/third_party/grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | native_methods.include | 98 'Timespec gprsharp_now(ClockType clockType)', 99 'Timespec gprsharp_inf_future(ClockType clockType)', 100 'Timespec gprsharp_inf_past(ClockType clockType)', 101 'Timespec gprsharp_convert_clock_type(Timespec t, ClockType targetClock)',
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | TimespecTest.cs | 99 () => new Timespec(0, 0, ClockType.Monotonic).ToDateTime()); in ToDateTime()
|