public void StartTrace(string filename, CollectionLevel level) { m_filename = filename; // TODO(segilles) - respect the level argument. Process proc = Process.Start(PerfView, string.Format(PerfViewCommandLineGcOnly, filename)); proc.WaitForExit(); if (proc.ExitCode != 0) { throw new InvalidOperationException($"PerfView exited with unexpected exit code: {proc.ExitCode}"); } // PerfView exits immediately, without starting the session. We sleep here to ensure // that we don't start the benchmark until PerfView is ready. Five seconds should be long enough. Thread.Sleep(5000); }
public void StartTrace(string filename, CollectionLevel level) { }
public void StartTrace(string filename, CollectionLevel level) { throw new NotImplementedException(); }