public BenchmarkResult(IList <double> times, int warmup, int rounds) { this.average = Average.From(times.GetView(warmup, times.Count - warmup)); // LUCENENET: Converted end index to length }
public BenchmarkResult(IList <double> times, int warmup, int rounds) { this.average = Average.From(times.SubList(warmup, times.Count)); }