Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GameTechDev/PresentMon
/ WriteMetricOrZero
Function
WriteMetricOrZero
PresentMon/CsvOutput.cpp:15–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
}
14
15
static void WriteMetricOrZero(FILE* fp, double value, int precision = 4)
16
{
17
fwprintf(fp, L
",%.*lf"
, precision, HasFrameMetricValue(value) ? value : 0);
18
}
19
20
void IncrementRecordingCount()
21
{
Callers
2
WriteCsvRow<FrameMetrics>
Function · 0.85
FrameMetrics>
Method · 0.85
Calls
1
HasFrameMetricValue
Function · 0.85
Tested by
no test coverage detected