internal static void Report(RequestLifetimeSetter tracker)
 {
     if (tracker != null)
     {
         NetworkingPerfCounters.Instance.IncrementAverage(NetworkingPerfCounterName.HttpWebRequestAvgLifeTime, tracker.m_RequestStartTimestamp);
     }
 }
예제 #2
0
 public void TrackRequestLifetime(long requestStartTimestamp)
 {
     GlobalLog.Assert(m_RequestLifetimeSetter == null, "TrackRequestLifetime called more than once.");
     m_RequestLifetimeSetter = new RequestLifetimeSetter(requestStartTimestamp);
 }
 public void TrackRequestLifetime(long requestStartTimestamp)
 {
     this.m_RequestLifetimeSetter = new RequestLifetimeSetter(requestStartTimestamp);
 }
 void IRequestLifetimeTracker.TrackRequestLifetime(long requestStartTimestamp)
 {
     this.m_RequestLifetimeSetter = new RequestLifetimeSetter(requestStartTimestamp);
 }
 void IRequestLifetimeTracker.TrackRequestLifetime(long requestStartTimestamp)
 {
     Debug.Assert(m_RequestLifetimeSetter == null, "TrackRequestLifetime called more than once.");
     m_RequestLifetimeSetter = new RequestLifetimeSetter(requestStartTimestamp);
 }
 public void TrackRequestLifetime(long requestStartTimestamp)
 {
     this.m_RequestLifetimeSetter = new RequestLifetimeSetter(requestStartTimestamp);
 }