Skip to content

Commit

Permalink
Fix average time error #15
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoxor committed Nov 16, 2022
1 parent 4e5778b commit f83fbe4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions source/benchmark/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ void Benchmark::Launch(int& current, int total, LauncherHandler& handler)
// Collect data for one second...
for (; timespan < 1000000000; ++count)
{
// Add new metrics operation
context._metrics->AddOperations(1);

timestamp = System::Timestamp();

// Run benchmark method...
Expand Down
3 changes: 0 additions & 3 deletions source/benchmark/benchmark_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ void BenchmarkPC::Launch(int& current, int total, LauncherHandler& handler)
// Collect data for one second...
for (; timespan < 1000000000; ++count)
{
// Add new metrics operation
producer_context._metrics->AddOperations(1);

timestamp = System::Timestamp();

// Run producer method...
Expand Down
3 changes: 0 additions & 3 deletions source/benchmark/benchmark_threads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ void BenchmarkThreads::Launch(int& current, int total, LauncherHandler& handler)
// Collect data for one second...
for (; timespan < 1000000000; ++count)
{
// Add new metrics operation
thread_context._metrics->AddOperations(1);

timestamp = System::Timestamp();

// Run thread method...
Expand Down

0 comments on commit f83fbe4

Please sign in to comment.