Home | History | Annotate | Download | only in benchmarks

Lines Matching defs:optarg

113     char* optarg = argv[i];
118 strncmp(g_long_options[opt_idx].name, optarg + 2,
123 new_argv->push_back(optarg);
128 if (!strchr(optarg, '=')) {
155 if (*optarg) {
157 opts.cpu_to_lock = strtol(optarg, &check_null, 10);
159 errx(1, "ERROR: Args %s is not a valid integer.", optarg);
167 if (*optarg) {
168 opts.xmlpath = optarg;
175 if (*optarg) {
176 opts.extra_benchmarks.push_back(optarg);
183 if (*optarg){
185 opts.num_iterations = strtol(optarg, &check_null, 10);
187 errx(1, "ERROR: Args %s is not a valid number of iterations.", optarg);