Align mesh and volume rendering benchmarks timings

This commit is contained in:
Manish Mathai 2021-08-06 12:24:12 -07:00
parent a2c3c80ce0
commit 48a820df07

@ -696,6 +696,7 @@ void BenchMeshRendering(::benchmark::State& state)
state.SetIterationTime(totalTimer.GetElapsedTime());
state.counters.insert(
{ { "InputGenTime", static_cast<uint32_t>(inputGenTimer.GetElapsedTime() * 1000) },
{ "FilterTime", 0 },
{ "RenderTime", static_cast<uint32_t>(renderTimer.GetElapsedTime() * 1000) },
{ "WriteTime", static_cast<uint32_t>(writeTimer.GetElapsedTime() * 1000) } });
}
@ -758,6 +759,7 @@ void BenchVolumeRendering(::benchmark::State& state)
state.SetIterationTime(totalTimer.GetElapsedTime());
state.counters.insert(
{ { "InputGenTime", static_cast<uint32_t>(inputGenTimer.GetElapsedTime() * 1000) },
{ "FilterTime", 0 },
{ "RenderTime", static_cast<uint32_t>(renderTimer.GetElapsedTime() * 1000) },
{ "WriteTime", static_cast<uint32_t>(writeTimer.GetElapsedTime() * 1000) } });
}