public static new SuperStopwatch StartNew() { SuperStopwatch s = new SuperStopwatch(); s.Start(); return(s); }
internal void LogStartEvent(Tuple <Tuple <string, int>, double> keyCPU) { if (!WatchedProcesses.ContainsKey(keyCPU.Item1)) { string name = keyCPU.Item1.Item1; WatchedProcesses[keyCPU.Item1] = SuperStopwatch.StartNew(); if (!Durations.ContainsKey(name)) { Durations.Add(name, TimeSpan.Zero); } } }