mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Align mesh and volume rendering benchmarks timings
This commit is contained in:
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) } });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user