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

Method benchmark

tutorials/verify/verify.cpp:5719–5725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5717 : VerifyApplication::Benchmark(name,isa,"1/s",true,10) {}
5718
5719 float benchmark(VerifyApplication* state)
5720 {
5721 double t0 = getSeconds();
5722 for (volatile size_t i=0; i<10000000; i = i + 1);
5723 double t1 = getSeconds();
5724 return 1.0f/float(t1-t0);
5725 }
5726 };
5727
5728 struct ParallelIntersectBenchmark : public VerifyApplication::Benchmark

Callers

nothing calls this directly

Calls 1

getSecondsFunction · 0.85

Tested by

no test coverage detected