Lines Matching refs:optarg
85 config->output = prepare_output(optarg); in main()
90 dprintf("user output path -> %s\n", optarg); in main()
93 sscanf(optarg, "%li", &config->sleep); in main()
94 dprintf("user sleep time -> %s\n", optarg); in main()
97 sscanf(optarg, "%li", &config->load); in main()
98 dprintf("user load time -> %s\n", optarg); in main()
101 sscanf(optarg, "%u", &config->cpu); in main()
102 dprintf("user cpu -> %s\n", optarg); in main()
105 strncpy(config->governor, optarg, 14); in main()
106 dprintf("user governor -> %s\n", optarg); in main()
109 if (string_to_prio(optarg) != SCHED_ERR) { in main()
110 config->prio = string_to_prio(optarg); in main()
111 dprintf("user prio -> %s\n", optarg); in main()
122 sscanf(optarg, "%u", &config->cycles); in main()
123 dprintf("user cycles -> %s\n", optarg); in main()
126 sscanf(optarg, "%u", &config->rounds); in main()
127 dprintf("user rounds -> %s\n", optarg); in main()
130 sscanf(optarg, "%li", &config->load_step); in main()
131 dprintf("user load_step -> %s\n", optarg); in main()
134 sscanf(optarg, "%li", &config->sleep_step); in main()
135 dprintf("user sleep_step -> %s\n", optarg); in main()
138 if (prepare_config(optarg, config)) in main()