MCPcopy Create free account
hub / github.com/Compaile/ctrack / print_usage

Function print_usage

benchmark/ctrack_benchmark.cpp:696–707  ·  view source on GitHub ↗

Print usage

Source from the content-addressed store, hash-verified

694
695// Print usage
696void print_usage(const char *program_name)
697{
698 std::cout << "Usage: " << program_name << " [options]\n";
699 std::cout << "Options:\n";
700 std::cout << " --events <count> Number of events to generate (default: 50000000)\n";
701 std::cout << " --threads <count> Number of threads to use (default: hardware concurrency)\n";
702 std::cout << " --baseline <file> Baseline file path (default: ctrack_baseline.json)\n";
703 std::cout << " --record-baseline Record current results as baseline\n";
704 std::cout << " --compare-baseline Compare results with baseline\n";
705 std::cout << " --verbose Enable verbose output\n";
706 std::cout << " --help Show this help message\n";
707}
708
709// Parse command line arguments
710bool parse_args(int argc, char *argv[])

Callers 1

parse_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected