MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ProfileFrameMs

Function ProfileFrameMs

engine/Poseidon/Dev/Debug/DebugOverlay.cpp:863–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861 return lastMs > 0 ? 1000.0f / static_cast<float>(lastMs) : 0.0f;
862}
863
864float ProfileFrameMs()
865{
866 if (!GEngine)
867 return 0.0f;
868 return static_cast<float>(GEngine->GetLastFrameDuration());
869}
870} // namespace
871

Callers 1

DrawProfileTabFunction · 0.85

Calls 1

GetLastFrameDurationMethod · 0.80

Tested by

no test coverage detected