| 412 | } |
| 413 | |
| 414 | void 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 | |
| 427 | void PresentMon::Add(wchar_t const* args) |
| 428 | { |
no outgoing calls