geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Public Member Functions | Static Public Member Functions | List of all members
geopm::ProcessRegionAggregator Class Referenceabstract

Class responsible for reading records from the ApplicationSampler and calculating the per-process runtimes within each region. More...

#include <ProcessRegionAggregator.hpp>

Inheritance diagram for geopm::ProcessRegionAggregator:
Inheritance graph
[legend]

Public Member Functions

virtual ~ProcessRegionAggregator ()=default
 
virtual void update (void)=0
 Gets the latest set of records from ApplicationSampler. More...
 
virtual double get_runtime_average (uint64_t region_hash) const =0
 Returns the average total time spent in a region across all processes. More...
 
virtual double get_count_average (uint64_t region_hash) const =0
 Returns the average number of entries into a region across all processes. More...
 

Static Public Member Functions

static std::unique_ptr< ProcessRegionAggregatormake_unique (void)
 

Detailed Description

Class responsible for reading records from the ApplicationSampler and calculating the per-process runtimes within each region.

Constructor & Destructor Documentation

◆ ~ProcessRegionAggregator()

virtual geopm::ProcessRegionAggregator::~ProcessRegionAggregator ( )
virtualdefault

Member Function Documentation

◆ get_count_average()

virtual double geopm::ProcessRegionAggregator::get_count_average ( uint64_t  region_hash) const
pure virtual

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

Parameters
[in]region_hashHash of the region.

Implemented in geopm::ProcessRegionAggregatorImp.

◆ get_runtime_average()

virtual double geopm::ProcessRegionAggregator::get_runtime_average ( uint64_t  region_hash) const
pure virtual

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

Parameters
[in]region_hashHash of the region.

Implemented in geopm::ProcessRegionAggregatorImp.

◆ make_unique()

std::unique_ptr< ProcessRegionAggregator > geopm::ProcessRegionAggregator::make_unique ( void  )
static

◆ update()

virtual void geopm::ProcessRegionAggregator::update ( void  )
pure virtual

Gets the latest set of records from ApplicationSampler.

Implemented in geopm::ProcessRegionAggregatorImp.


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