Exemple #1
0
        public long Run(BenchmarkParameters packet)
        {
            var timerId = StartATimer();
            int max;

            for (int i = 0; i < packet.n; i++)
            {
                max = Math.Max(i, packet.n - i);
            }

            return(GetTimeElapsed(timerId));
        }
 public long Run(BenchmarkParameters n)
 {
     throw new NotImplementedException();
 }