MCPcopy 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
15static void WriteMetricOrZero(FILE* fp, double value, int precision = 4)
16{
17 fwprintf(fp, L",%.*lf", precision, HasFrameMetricValue(value) ? value : 0);
18}
19
20void IncrementRecordingCount()
21{

Callers 2

FrameMetrics>Method · 0.85

Calls 1

HasFrameMetricValueFunction · 0.85

Tested by

no test coverage detected