cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

config.h (576B)


      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/* initial loop count for the load calibration */
      8#define GAUGECOUNT	1500
      9
     10/* default scheduling policy SCHED_OTHER */
     11#define SCHEDULER	SCHED_OTHER
     12
     13#define PRIORITY_DEFAULT 0
     14#define PRIORITY_HIGH	 sched_get_priority_max(SCHEDULER)
     15#define PRIORITY_LOW	 sched_get_priority_min(SCHEDULER)
     16
     17/* enable further debug messages */
     18#ifdef DEBUG
     19#define dprintf printf
     20#else
     21#define dprintf(...) do { } while (0)
     22#endif
     23