Пример #1
0
        private Benchmark(Action function, string label)
        {
            _functions  = new List <Tuple <string, Action> >();
            _constraint = new Constraint(this);
            _against    = new Against(this);

            _functions.Add(new Tuple <string, Action>(label, function));
        }
Пример #2
0
        private Benchmark(Action function, string label)
        {
            actions    = new List <ActionPair>();
            constraint = new Constraint(this);
            against    = new Against(this);

            actions.Add(new ActionPair(label, function));
        }