예제 #1
0
 static extern Timespec gprsharp_inf_future(GPRClockType clockType);
예제 #2
0
 static extern Timespec gprsharp_inf_past(GPRClockType clockType);
예제 #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;
 }
예제 #4
0
 static extern Timespec gprsharp_now(GPRClockType clockType);
예제 #5
0
 static extern Timespec gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock);
예제 #6
0
파일: Timespec.cs 프로젝트: larsonmpdx/grpc
 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;
 }
예제 #7
0
 static extern Timespec gprsharp_now(GPRClockType clockType);
예제 #8
0
 Timespec IPlatformInvocation.gprsharp_inf_past(GPRClockType clockType)
 {
     return gprsharp_inf_past(clockType);
 }
예제 #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;
 }
예제 #10
0
 /// <summary>
 /// Converts the timespec to desired clock type.
 /// </summary>
 public Timespec ToClockType(GPRClockType targetClock)
 {
     return(gprsharp_convert_clock_type(this, targetClock));
 }
예제 #11
0
 Timespec IPlatformInvocation.gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock)
 {
     return(gprsharp_convert_clock_type(t, targetClock));
 }
예제 #12
0
 Timespec IPlatformInvocation.gprsharp_inf_past(GPRClockType clockType)
 {
     return(gprsharp_inf_past(clockType));
 }
예제 #13
0
 Timespec IPlatformInvocation.gprsharp_now(GPRClockType clockType)
 {
     return(gprsharp_now(clockType));
 }
예제 #14
0
 static extern Timespec gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock);
예제 #15
0
 static extern Timespec gprsharp_inf_future(GPRClockType clockType);
예제 #16
0
 Timespec IPlatformInvocation.gprsharp_now(GPRClockType clockType)
 {
     return gprsharp_now(clockType);
 }
예제 #17
0
파일: Timespec.cs 프로젝트: larsonmpdx/grpc
 /// <summary>
 /// Converts the timespec to desired clock type.
 /// </summary>
 public Timespec ToClockType(GPRClockType targetClock)
 {
     return gprsharp_convert_clock_type(this, targetClock);
 }
예제 #18
0
 Timespec IPlatformInvocation.gprsharp_convert_clock_type(Timespec t, GPRClockType targetClock)
 {
     return gprsharp_convert_clock_type(t, targetClock);
 }
예제 #19
0
 static extern Timespec gprsharp_inf_past(GPRClockType clockType);