| 108 | } |
| 109 | |
| 110 | void printUsage() { |
| 111 | std::cout << "Usage:" << endl; |
| 112 | std::cout << "-h|--help Print usage instructions" << endl; |
| 113 | std::cout << "--mode Exceptions to look folder. 0=Folder, 1=Extensions, 2=Process, 3=file, 4=benchmark (Default=4)" << endl; |
| 114 | std::cout << "--ref Reference time value. Default=global average" << endl; |
| 115 | std::cout << "--sample-size Sample size to use. Default=500" << endl; |
| 116 | std::cout << "--sensitivity Sensitivity value. Default=0.25" << endl; |
| 117 | std::cout << "--benchmarker Fully qualified path to a benchmarker executable" << endl; |
| 118 | std::cout << "--verbose Increase verbosity" << endl; |
| 119 | std::cout << "--targets File containing folder paths, extensions, or process names depending on the mode selected" << endl; |
| 120 | } |
| 121 | |
| 122 | long long int timeFileWrite(const std::filesystem::path& filePath, vector<char>& content) { |
| 123 | ofstream _file; |