geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Classes | Public Member Functions | List of all members
geopm::ProcessRegionAggregatorImp Class Reference

#include <ProcessRegionAggregator.hpp>

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

Public Member Functions

 ProcessRegionAggregatorImp ()
 
 ProcessRegionAggregatorImp (ApplicationSampler &sampler)
 
virtual ~ProcessRegionAggregatorImp ()=default
 
void update (void) override
 Gets the latest set of records from ApplicationSampler. More...
 
double get_runtime_average (uint64_t region_hash) const override
 Returns the average total time spent in a region across all processes. More...
 
double get_count_average (uint64_t region_hash) const override
 Returns the average number of entries into a region across all processes. More...
 
- Public Member Functions inherited from geopm::ProcessRegionAggregator
virtual ~ProcessRegionAggregator ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from geopm::ProcessRegionAggregator
static std::unique_ptr< ProcessRegionAggregatormake_unique (void)
 

Constructor & Destructor Documentation

◆ ProcessRegionAggregatorImp() [1/2]

geopm::ProcessRegionAggregatorImp::ProcessRegionAggregatorImp ( )

◆ ProcessRegionAggregatorImp() [2/2]

geopm::ProcessRegionAggregatorImp::ProcessRegionAggregatorImp ( ApplicationSampler sampler)

◆ ~ProcessRegionAggregatorImp()

virtual geopm::ProcessRegionAggregatorImp::~ProcessRegionAggregatorImp ( )
virtualdefault

Member Function Documentation

◆ get_count_average()

double geopm::ProcessRegionAggregatorImp::get_count_average ( uint64_t  region_hash) const
overridevirtual

Returns the average number of entries into a region across all processes.

Parameters
[in]region_hashHash of the region.

Implements geopm::ProcessRegionAggregator.

◆ get_runtime_average()

double geopm::ProcessRegionAggregatorImp::get_runtime_average ( uint64_t  region_hash) const
overridevirtual

Returns the average total time spent in a region across all processes.

Parameters
[in]region_hashHash of the region.

Implements geopm::ProcessRegionAggregator.

◆ update()

void geopm::ProcessRegionAggregatorImp::update ( void  )
overridevirtual

Gets the latest set of records from ApplicationSampler.

Implements geopm::ProcessRegionAggregator.


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