Exemple #1
0
 public void StopMonitor()
 {
     if (PerformanceInfo == null)
     {
         PerformanceInfo = new GrpcMessagePerformance(DateTime.Now.AddDays(1));
     }
     PerformanceInfo.CalcUsedTime(DateTime.Now);
 }
Exemple #2
0
 public void StartMonitor()
 {
     PerformanceInfo = new GrpcMessagePerformance(DateTime.Now);
 }