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

Method AddCsvPath

Tests/PresentMon.cpp:414–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void PresentMon::AddCsvPath(std::wstring const& csvPath)
415{
416 EXPECT_FALSE(csvArgSet_);
417 cmdline_ += L" --output_file \"";
418 cmdline_ += csvPath;
419 cmdline_ += L'\"';
420 csvArgSet_ = true;
421
422 // Delete the file if it exists. Otherwise, PresentMon may not output
423 // anything and any previous content will remain.
424 DeleteFile(csvPath.c_str());
425}
426
427void PresentMon::Add(wchar_t const* args)
428{

Callers 3

TestBodyMethod · 0.80
QpcTimeTestFunction · 0.80
InputTestFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestBodyMethod · 0.64
QpcTimeTestFunction · 0.64
InputTestFunction · 0.64