Пример #1
0
        private void SaveBenchmarkResults()
        {
            var result = new BenchmarkResult
            {
                BenchmarkName = CurrentBenchmark.Name,
                Frames        = _framesCounter,
                FixedFrames   = _fixedFramesCounter
            };

            _benchmarkResults.AddResult(result);
        }
Пример #2
0
        public void AddResult(BenchmarkResult result)
        {
            _results.Add(result);

            SaveResults();
        }