xref: /linux/tools/power/cpupower/bench/system.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
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);
17