Example #1
0
 static extern Timespec gprsharp_inf_future(GPRClockType clockType);
Example #2
0
 static extern Timespec gprsharp_inf_past(GPRClockType clockType);
Example #3
0
 public Timespec(IntPtr tv_sec, int tv_nsec)
 {
     this.tv_sec = tv_sec;
     this.tv_nsec = tv_nsec;
     this.clock_type = GPRClockType.Realtime;
 }
Example #4
0
 static extern Timespec gprsharp_now(GPRClockType clockType);
Example #5
0
 static extern Timespec gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock);
Example #6
0
 public Timespec(IntPtr tv_sec, int tv_nsec, GPRClockType clock_type)
 {
     this.tv_sec = tv_sec;
     this.tv_nsec = tv_nsec;
     this.clock_type = clock_type;
 }
Example #7
0
 static extern Timespec gprsharp_now(GPRClockType clockType);
Example #8
0
 Timespec IPlatformInvocation.gprsharp_inf_past(GPRClockType clockType)
 {
     return gprsharp_inf_past(clockType);
 }
Example #9
0
 public Timespec(long tv_sec, int tv_nsec, GPRClockType clock_type)
 {
     this.tv_sec     = tv_sec;
     this.tv_nsec    = tv_nsec;
     this.clock_type = clock_type;
 }
Example #10
0
 /// <summary>
 /// Converts the timespec to desired clock type.
 /// </summary>
 public Timespec ToClockType(GPRClockType targetClock)
 {
     return(gprsharp_convert_clock_type(this, targetClock));
 }
Example #11
0
 Timespec IPlatformInvocation.gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock)
 {
     return(gprsharp_convert_clock_type(t, targetClock));
 }
Example #12
0
 Timespec IPlatformInvocation.gprsharp_inf_past(GPRClockType clockType)
 {
     return(gprsharp_inf_past(clockType));
 }
Example #13
0
 Timespec IPlatformInvocation.gprsharp_now(GPRClockType clockType)
 {
     return(gprsharp_now(clockType));
 }
Example #14
0
 static extern Timespec gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock);
Example #15
0
 static extern Timespec gprsharp_inf_future(GPRClockType clockType);
Example #16
0
 Timespec IPlatformInvocation.gprsharp_now(GPRClockType clockType)
 {
     return gprsharp_now(clockType);
 }
Example #17
0
 /// <summary>
 /// Converts the timespec to desired clock type.
 /// </summary>
 public Timespec ToClockType(GPRClockType targetClock)
 {
     return gprsharp_convert_clock_type(this, targetClock);
 }
Example #18
0
 Timespec IPlatformInvocation.gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock)
 {
     return gprsharp_convert_clock_type(t, targetClock);
 }
Example #19
0
 static extern Timespec gprsharp_inf_past(GPRClockType clockType);