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

system.h (443B)


      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
      9long long get_time();
     10
     11int set_cpufreq_governor(char *governor, unsigned int cpu);
     12int set_cpu_affinity(unsigned int cpu);
     13int set_process_priority(int priority);
     14
     15void prepare_user(const struct config *config);
     16void prepare_system(const struct config *config);