MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnSync

Method OnSync

Source/Engine/Tools/ModelTool/ModelTool.cpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 void OnSync() override
219 {
220 GPUTask::OnSync();
221 _signal->NotifyOne();
222#if GPU_ALLOW_PROFILE_EVENTS
223 uint64 time;
224 if (GPUDevice::Instance->GetQueryResult(_timerQuery, time, true))
225 LOG(Info, "GPU SDF generation took {} ms", Utilities::RoundTo1DecimalPlace(time * 0.001f));
226#endif
227 }
228
229 void OnFail() override
230 {

Callers

nothing calls this directly

Calls 2

RoundTo1DecimalPlaceFunction · 0.85
GetQueryResultMethod · 0.45

Tested by

no test coverage detected