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

Function MakeEntry_

IntelPresentMon/UnitTests/LoggingTests.cpp:27–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 namespace
26 {
27 Entry MakeEntry_()
28 {
29 Entry e;
30 e.level_ = Level::Info;
31 e.note_ = "test-entry";
32 e.sourceStrings_ = Entry::StaticSourceStrings{
33 .file_ = __FILE__,
34 .functionName_ = __FUNCTION__,
35 };
36 e.sourceLine_ = __LINE__;
37 e.timestamp_ = std::chrono::system_clock::now();
38 e.pid_ = GetCurrentProcessId();
39 e.tid_ = GetCurrentThreadId();
40 return e;
41 }
42
43 class BlockingDriver_ : public IDriver
44 {

Callers 1

TEST_CLASSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected