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

Method Flush

IntelPresentMon/CommonUtilities/log/BasicFileDriver.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 pFileStrategy_ = std::move(pFileStrategy);
41 }
42 void BasicFileDriver::Flush()
43 {
44 if (pFileStrategy_) {
45 if (auto pStream = pFileStrategy_->GetFileStream()) {
46 pStream->flush();
47 }
48 }
49 else {
50 pmlog_panic_("BasicFileDriver flushed without a file strategy set");
51 }
52 }
53}

Callers

nothing calls this directly

Calls 1

GetFileStreamMethod · 0.80

Tested by

no test coverage detected