private void SaveBenchmarkResults() { var result = new BenchmarkResult { BenchmarkName = CurrentBenchmark.Name, Frames = _framesCounter, FixedFrames = _fixedFramesCounter }; _benchmarkResults.AddResult(result); }
public void AddResult(BenchmarkResult result) { _results.Add(result); SaveResults(); }