Lines Matching refs:ostr
118 void usage(std::ostream& ostr, const std::string& program_name) { in usage() argument
121 ostr << "Usage: " << program_name << " [global_options] {[workload_options] -w WORKLOAD_T}\n"; in usage()
122 ostr << "WORKLOAD_T = {" << Command::CREATE << ", " << Command::DELETE << ", " << Command::MOVE in usage()
124 ostr << "Global options\n"; in usage()
125 ostr << "\t-v: Print version.\n"; in usage()
126 ostr << "\t-p: Print parsed workloads and exit.\n"; in usage()
127 ostr << "Workload options\n"; in usage()
128 ostr << "\t-d DIR\t\t: Work directory for " << Command::CREATE << "/" << Command::DELETE in usage()
130 ostr << "\t-f FROM-DIR\t: Source directory for " << Command::MOVE << "/" << Command::SYMLINK in usage()
132 ostr << "\t-t TO-DIR\t: Destination directory for " << Command::MOVE << "/" << Command::SYMLINK in usage()
134 ostr << "\t-n N_FILES\t: Number of files to create/delete etc. (default " << command.n_file in usage()
136 ostr << "\t-s\t\t: Do not drop state (caches) before running the workload (default " in usage()
138 ostr << "NOTE: -w WORKLOAD_T defines a new command and must come after its workload_options." in usage()