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

Method GetEventName

PresentData/TraceLogging.cpp:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103std::optional<std::wstring> TraceLoggingContext::GetEventName()
104{
105 if (mpTraceEventInfo == nullptr) {
106 pmlog_warn("mTraceEventInfoBuffer not setup");
107 return std::nullopt;
108 }
109
110 return GetTraceEventInfoString(mpTraceEventInfo->EventNameOffset);
111}
112
113size_t TraceLoggingContext::GetSkipSize(unsigned tdhType) const
114{

Callers 1

HandlePclEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected