internal void FinishData(double finalTimestamp)
 {
     foreach (var entry in StartStopEvents)
     {
         var data = entry.Value.ToArray();
         Array.Sort(data);
         var perThread = new CLRRuntimeActivityComputer.PerThreadStartStopData();
         perThread.Data = data;
         ThreadData.Add(entry.Key, perThread);
     }
     StartStopEvents = null;
     _finalTimestamp = finalTimestamp;
 }