Skip to content

Commit f83fbe4

Browse files
committed
Fix average time error #15
1 parent 4e5778b commit f83fbe4

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

source/benchmark/benchmark.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ void Benchmark::Launch(int& current, int total, LauncherHandler& handler)
6161
// Collect data for one second...
6262
for (; timespan < 1000000000; ++count)
6363
{
64-
// Add new metrics operation
65-
context._metrics->AddOperations(1);
66-
6764
timestamp = System::Timestamp();
6865

6966
// Run benchmark method...

source/benchmark/benchmark_pc.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ void BenchmarkPC::Launch(int& current, int total, LauncherHandler& handler)
109109
// Collect data for one second...
110110
for (; timespan < 1000000000; ++count)
111111
{
112-
// Add new metrics operation
113-
producer_context._metrics->AddOperations(1);
114-
115112
timestamp = System::Timestamp();
116113

117114
// Run producer method...

source/benchmark/benchmark_threads.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ void BenchmarkThreads::Launch(int& current, int total, LauncherHandler& handler)
107107
// Collect data for one second...
108108
for (; timespan < 1000000000; ++count)
109109
{
110-
// Add new metrics operation
111-
thread_context._metrics->AddOperations(1);
112-
113110
timestamp = System::Timestamp();
114111

115112
// Run thread method...

0 commit comments

Comments
 (0)