public CountInfo(DefaultPerformanceService service, long initialCount, double rtMilliseconds)
 {
     _service    = service;
     _totalCount = initialCount;
     _rtCount    = initialCount;
     Interlocked.Add(ref _rtTime, (long)(rtMilliseconds * 1000));
     Interlocked.Add(ref _totalRTTime, (long)(rtMilliseconds * 1000));
 }
Ejemplo n.º 2
0
 public CountInfo(DefaultPerformanceService service, long initialCount, double rtMilliseconds)
 {
     _service = service;
     _totalCount = initialCount;
     _rtCount = initialCount;
     Interlocked.Add(ref _rtTime, (long)(rtMilliseconds * 1000));
     Interlocked.Add(ref _totalRTTime, (long)(rtMilliseconds * 1000));
 }