Esempio n. 1
0
 /// <summary>
 /// Notifies a new occurrence of the activity.
 /// </summary>
 internal void NotifyOccurrence()
 {
     m_lastReportedTimestamps.Enqueue(DateTime.UtcNow);
 }
 /// <summary>
 /// Notifies the a done activity and it's duration.
 /// </summary>
 /// <param name="durationTicks">Total ticks the activity took.</param>
 internal void NotifyActivityDuration(long durationTicks)
 {
     m_lastDurationItems.Enqueue(Tuple.Create(DateTime.UtcNow, durationTicks));
 }