geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
geopm::ScalingModelRegion Class Reference

#include <ScalingModelRegion.hpp>

Inheritance diagram for geopm::ScalingModelRegion:
Inheritance graph
[legend]
Collaboration diagram for geopm::ScalingModelRegion:
Collaboration graph
[legend]

Public Member Functions

 ScalingModelRegion (double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
 
virtual ~ScalingModelRegion ()
 
 ScalingModelRegion (const ScalingModelRegion &other)=delete
 
ScalingModelRegionoperator= (const ScalingModelRegion &other)=delete
 
void big_o (double big_o)
 
void run (void)
 
void run_atom (void)
 
- Public Member Functions inherited from geopm::ModelRegion
 ModelRegion (int verbosity)
 
virtual ~ModelRegion ()
 
std::string name (void)
 
double big_o (void)
 
virtual void region (void)
 
virtual void region (uint64_t hint)
 
virtual void region_enter (void)
 
virtual void region_exit (void)
 
virtual void loop_enter (uint64_t iteration)
 
virtual void loop_exit (void)
 

Protected Member Functions

size_t llc_size (void)
 
- Protected Member Functions inherited from geopm::ModelRegion
virtual void num_progress_updates (double big_o_in)
 

Protected Attributes

std::string m_sysfs_cache_dir
 
size_t m_llc_slop_size
 
size_t m_element_size
 
size_t m_rank_per_node
 
size_t m_array_len
 
size_t m_num_atom
 
std::vector< double * > m_arrays
 
- Protected Attributes inherited from geopm::ModelRegion
std::string m_name
 
double m_big_o
 
int m_verbosity
 
uint64_t m_region_id
 
bool m_do_imbalance
 
bool m_do_progress
 
bool m_do_unmarked
 
uint64_t m_num_progress_updates
 
double m_norm
 

Additional Inherited Members

- Static Public Member Functions inherited from geopm::ModelRegion
static std::unique_ptr< ModelRegionmodel_region (const std::string &name, double big_o, int verbosity)
 
- Static Protected Member Functions inherited from geopm::ModelRegion
static bool name_check (const std::string &name, const std::string &key)
 

Constructor & Destructor Documentation

◆ ScalingModelRegion() [1/2]

geopm::ScalingModelRegion::ScalingModelRegion ( double  big_o_in,
int  verbosity,
bool  do_imbalance,
bool  do_progress,
bool  do_unmarked 
)

◆ ~ScalingModelRegion()

geopm::ScalingModelRegion::~ScalingModelRegion ( )
virtual

◆ ScalingModelRegion() [2/2]

geopm::ScalingModelRegion::ScalingModelRegion ( const ScalingModelRegion other)
delete

Member Function Documentation

◆ big_o()

void geopm::ScalingModelRegion::big_o ( double  big_o)
virtual

Implements geopm::ModelRegion.

◆ llc_size()

size_t geopm::ScalingModelRegion::llc_size ( void  )
protected

◆ operator=()

ScalingModelRegion& geopm::ScalingModelRegion::operator= ( const ScalingModelRegion other)
delete

◆ run()

void geopm::ScalingModelRegion::run ( void  )
virtual

Implements geopm::ModelRegion.

◆ run_atom()

void geopm::ScalingModelRegion::run_atom ( void  )

Member Data Documentation

◆ m_array_len

size_t geopm::ScalingModelRegion::m_array_len
protected

◆ m_arrays

std::vector<double *> geopm::ScalingModelRegion::m_arrays
protected

◆ m_element_size

size_t geopm::ScalingModelRegion::m_element_size
protected

◆ m_llc_slop_size

size_t geopm::ScalingModelRegion::m_llc_slop_size
protected

◆ m_num_atom

size_t geopm::ScalingModelRegion::m_num_atom
protected

◆ m_rank_per_node

size_t geopm::ScalingModelRegion::m_rank_per_node
protected

◆ m_sysfs_cache_dir

std::string geopm::ScalingModelRegion::m_sysfs_cache_dir
protected

The documentation for this class was generated from the following files: