Ejemplo n.º 1
0
 public static void StopTiming(PerformanceMark mark)
 {
     if (Performance._endFunc != null)
     {
         int num = Performance._endFunc((ulong)mark.EndEvent, mark.Description) ? 1 : 0;
     }
     CodeMarkers.Instance.CodeMarker(mark.EndEvent);
 }
Ejemplo n.º 2
0
 public static void MarkTime(PerformanceMark mark)
 {
     if (Performance._markFunc != null)
     {
         int num = Performance._markFunc((ulong)mark.BeginEvent, mark.Description) ? 1 : 0;
     }
     CodeMarkers.Instance.CodeMarker(mark.BeginEvent);
 }
Ejemplo n.º 3
0
 public static void StartTiming(PerformanceMark mark)
 {
     Performance.Initialize();
     CodeMarkers.Instance.CodeMarker(mark.BeginEvent);
     if (Performance._startFunc == null)
     {
         return;
     }
     int num = Performance._startFunc((ulong)mark.BeginEvent, mark.Description) ? 1 : 0;
 }