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

Method perform_work

tutorials/buildbench/buildbench_device.cpp:475–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 RTCScene scene;
474
475 void perform_work(size_t threadID) {
476 setAffinity(threadID);
477 while (true) {
478 barrier.wait();
479 if (term)
480 return;
481 rtcJoinCommitScene(scene);
482 barrier.wait();
483 }
484 }
485 } helper;
486
487 void Benchmark_Static_Create_UserThreads_Legacy(ISPCScene* scene_in, BenchParams& params, RTCBuildQuality quality, RTCBuildQuality qflags)

Callers

nothing calls this directly

Calls 3

setAffinityFunction · 0.85
rtcJoinCommitSceneFunction · 0.85
waitMethod · 0.45

Tested by

no test coverage detected