MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / ConsolePrintLn

Function ConsolePrintLn

IntelPresentMon/SampleClient/Console.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ConsolePrintLn(char const* format, ...)
58{
59 va_list args;
60 va_start(args, format);
61 vConsolePrint(format, args);
62 va_end(args);
63
64 auto x = gConsoleWriteBufferIndex % gConsoleWidth;
65 auto s = gConsoleWidth - x;
66 memset(gConsoleWriteBuffer + gConsoleWriteBufferIndex, ' ', s);
67 gConsoleWriteBufferIndex += s;
68}
69
70void CommitConsole()
71{

Callers 2

AddGpuMetricFunction · 0.70
DynamicQuerySampleFunction · 0.70

Calls 1

vConsolePrintFunction · 0.85

Tested by

no test coverage detected