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

Function WriteEvent

Provider/PresentMonProvider.cpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157ULONG WriteEvent(
158 PresentMonProvider* ctxt,
159 Event event)
160{
161 if (EventIsDisabled(*ctxt, event)) return ERROR_SUCCESS;
162
163 return (*ctxt->pEventWrite)(ctxt->ProviderHandle, &EventDescriptor[event], 0, nullptr);
164}
165
166template<typename... Ts>
167ULONG WriteEvent(

Calls 2

EventIsDisabledFunction · 0.85
FillDescFunction · 0.85

Tested by

no test coverage detected