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

Method EtwLogger

IntelPresentMon/PresentMonService/EtwLogger.cpp:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 uint32_t EtwLogger::nextSessionId_ = 0;
34
35 EtwLogger::EtwLogger(bool isElevated)
36 {
37 try {
38 workDirectory_ = file::SecureSubdirectory::CreateInSystemTemp(
39 L"PresentMonServiceEtl", isElevated, true, true);
40 }
41 catch (...) {
42 pmlog_error(ReportException("Failed establishing etw logger work directory"));
43 }
44 }
45
46 uint32_t EtwLogger::StartLogSession(std::span<const EtwProviderDescription> providers)
47 {

Callers

nothing calls this directly

Calls 1

ReportExceptionFunction · 0.85

Tested by

no test coverage detected