Beispiel #1
0
 public static int Compare(PerformanceData pd1, PerformanceData pd2)
 {
     if (!(pd1 == pd2))
     {
         return(1);
     }
     return(0);
 }
Beispiel #2
0
 public PerformanceData(int latency, uint count)
 {
     this = new PerformanceData(TimeSpan.FromMilliseconds((double)latency), count);
 }
Beispiel #3
0
 public static PerformanceData Subtract(PerformanceData pd1, PerformanceData pd2)
 {
     return(pd1 - pd2);
 }
Beispiel #4
0
 public PerformanceData(TimeSpan latency, uint count)
 {
     this = new PerformanceData(latency, count, 0, 0, 0);
 }
Beispiel #5
0
 public static bool Equals(PerformanceData pd1, PerformanceData pd2)
 {
     return(pd1 == pd2);
 }