Пример #1
0
        public SpeedTestResults CalculateChartData()
        {
            var results   = new SpeedTestResults();
            var stopWatch = new Stopwatch();

            stopWatch.Start();
            var chartData = _retentionService.GetChartDataExclusive();

            stopWatch.Stop();
            results.CalculateChartDataTime = (int)stopWatch.ElapsedMilliseconds;

            return(results);
        }
Пример #2
0
 public IEnumerable <ChartData> GetChartDataExclusive()
 {
     return(_retentionService.GetChartDataExclusive().ToArray());
 }