Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GameTechDev/PresentMon
/ CalculateFPSForPrintf
Function
CalculateFPSForPrintf
PresentMon/Console.cpp:247–250 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
245
}
246
247
static float CalculateFPSForPrintf(float duration)
248
{
249
return duration == 0.f ? 0.f : ((1000.f / duration) + 0.05f);
250
}
251
252
void UpdateConsole(uint32_t processId, ProcessInfo const& processInfo)
253
{
Callers
1
UpdateConsole
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected