WIP FPC-III support
[linux/fpc-iii.git] / tools / power / cpupower / bench / config.h
blobfec5b0b055f2386cc903316f6a4e1f00e858b7af
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* cpufreq-bench CPUFreq microbenchmark
4 * Copyright (C) 2008 Christian Kornacker <ckornacker@suse.de>
5 */
7 /* initial loop count for the load calibration */
8 #define GAUGECOUNT 1500
10 /* default scheduling policy SCHED_OTHER */
11 #define SCHEDULER SCHED_OTHER
13 #define PRIORITY_DEFAULT 0
14 #define PRIORITY_HIGH sched_get_priority_max(SCHEDULER)
15 #define PRIORITY_LOW sched_get_priority_min(SCHEDULER)
17 /* enable further debug messages */
18 #ifdef DEBUG
19 #define dprintf printf
20 #else
21 #define dprintf(...) do { } while (0)
22 #endif