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