1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* cpufreq-bench CPUFreq microbenchmark 3 * 4 * Copyright (C) 2008 Christian Kornacker <ck 5 */ 6 7 /* load loop, this schould take about 1 to 2ms 8 #define ROUNDS(x) {unsigned int rcnt; 9 for (rcnt = 0; rcnt < x*1000; 10 (void)(((int)(pow(rcnt 11 sqrt(rcn 12 (int)ata 13 } } 14 15 16 void start_benchmark(struct config *config); 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.