Lines Matching refs:config
126 void prepare_user(const struct config *config) in prepare_user() argument
132 for (round = 0; round < config->rounds; round++) { in prepare_user()
133 sleep_time += 2 * config->cycles * in prepare_user()
134 (config->sleep + config->sleep_step * round); in prepare_user()
135 load_time += 2 * config->cycles * in prepare_user()
136 (config->load + config->load_step * round) + in prepare_user()
137 (config->load + config->load_step * round * 4); in prepare_user()
140 if (config->verbose || config->output != stdout) in prepare_user()
152 void prepare_system(const struct config *config) in prepare_system() argument
154 if (config->verbose) in prepare_system()
155 printf("set cpu affinity to cpu #%u\n", config->cpu); in prepare_system()
157 set_cpu_affinity(config->cpu); in prepare_system()
159 switch (config->prio) { in prepare_system()
161 if (config->verbose) in prepare_system()
167 if (config->verbose) in prepare_system()
173 if (config->verbose) in prepare_system()