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