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

Function addCounter

tutorials/buildbench/buildbench_device.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175#ifdef USE_GOOGLE_BENCHMARK
176 inline void addCounter(BenchState& state, size_t numPrims, size_t numObjects)
177 {
178 state.state->SetItemsProcessed(state.state->iterations() * numPrims);
179 state.state->counters["Prims"] = ::benchmark::Counter(numPrims);
180 state.state->counters["Objects"] = ::benchmark::Counter(numObjects);
181 }
182#endif
183
184 void Benchmark_Dynamic_Update_Legacy(ISPCScene* scene_in, BenchParams& params, RTCBuildQuality quality = RTC_BUILD_QUALITY_LOW)

Callers 4

Benchmark_Dynamic_UpdateFunction · 0.85
Benchmark_Dynamic_CreateFunction · 0.85
Benchmark_Static_CreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected