protected ExecutionStrategy(BenchmarkProcess parentProcess, List <BenchmarkInstance> benchmarks)
        {
            _process    = parentProcess;
            _benchmarks = benchmarks;
            _suites     = GetAllSuitesFromBenchmarks(benchmarks);

            _cpuLoadMeter     = new CpuLoadMeter();
            _transactionMeter = new TransactionMeter();
            _memoryUsageMeter = new MemoryUsageMeter();
        }
예제 #2
0
        public ResultAggregator(ResultsManager results, List <BenchmarkInstance> benchmarks)
        {
            _results    = results;
            _benchmarks = benchmarks;

            _cpuLoadMeter     = new CpuLoadMeter();
            _transactionMeter = new TransactionMeter();
            _memoryUsageMeter = new MemoryUsageMeter();

            Start();
        }