MCPcopy Create free account
hub / github.com/bananabr/TimeException / printUsage

Function printUsage

TimeException.cpp:110–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void 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
122long long int timeFileWrite(const std::filesystem::path& filePath, vector<char>& content) {
123 ofstream _file;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected