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

librapl.h (313B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2020 Intel Corporation
      4 */
      5
      6#ifndef SELFTEST_LIBRAPL_H
      7#define SELFTEST_LIBRAPL_H
      8
      9#include <linux/types.h>
     10
     11struct drm_i915_private;
     12
     13bool librapl_supported(const struct drm_i915_private *i915);
     14
     15u64 librapl_energy_uJ(void);
     16
     17#endif /* SELFTEST_LIBRAPL_H */