MCPcopy Create free account
hub / github.com/RenderKit/embree / BenchmarkLooper

Method BenchmarkLooper

tutorials/external/catch.hpp:2581–2587  ·  view source on GitHub ↗

Keep most of this inline as it's on the code path that is being timed

Source from the content-addressed store, hash-verified

2579 public:
2580 // Keep most of this inline as it's on the code path that is being timed
2581 BenchmarkLooper( StringRef name )
2582 : m_name( name ),
2583 m_resolution( getResolution() )
2584 {
2585 reportStart();
2586 m_timer.start();
2587 }
2588
2589 explicit operator bool() {
2590 if( m_count < m_iterationsToRun )

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected