Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::energy::RaplReader Class Reference

#include <rapl.hpp>

Public Member Functions

 RaplReader ()
bool hasPackage () const
bool hasCores () const
bool hasUncore () const
bool hasDram () const
void start ()
RaplEnergy stop ()
std::string systemInfo () const

Static Public Member Functions

static bool isAvailable ()
 RAPL is not available on this platform.

Constructor & Destructor Documentation

◆ RaplReader()

sw::universal::energy::RaplReader::RaplReader ( )
inline

Member Function Documentation

◆ hasCores()

bool sw::universal::energy::RaplReader::hasCores ( ) const
inline

◆ hasDram()

bool sw::universal::energy::RaplReader::hasDram ( ) const
inline

◆ hasPackage()

bool sw::universal::energy::RaplReader::hasPackage ( ) const
inline

◆ hasUncore()

bool sw::universal::energy::RaplReader::hasUncore ( ) const
inline

◆ isAvailable()

bool sw::universal::energy::RaplReader::isAvailable ( )
inlinestatic

RAPL is not available on this platform.

◆ start()

void sw::universal::energy::RaplReader::start ( )
inline

◆ stop()

RaplEnergy sw::universal::energy::RaplReader::stop ( )
inline

◆ systemInfo()

std::string sw::universal::energy::RaplReader::systemInfo ( ) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/energy/hw_counters/rapl.hpp