b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* cpufreq-bench CPUFreq microbenchmark | ||||
3 | * | ||||
4 | * Copyright (C) 2008 Christian Kornacker <ckornacker@suse.de> | ||||
5 | */ | ||||
6 | |||||
7 | #include "parse.h" | ||||
8 | |||||
9 | long long get_time(); | ||||
10 | |||||
11 | int set_cpufreq_governor(char *governor, unsigned int cpu); | ||||
12 | int set_cpu_affinity(unsigned int cpu); | ||||
13 | int set_process_priority(int priority); | ||||
14 | |||||
15 | void prepare_user(const struct config *config); | ||||
16 | void prepare_system(const struct config *config); |