geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
geopm::ProcessRegionAggregatorImp Class Reference

#include <ProcessRegionAggregator.hpp>

Inheritance diagram for geopm::ProcessRegionAggregatorImp:
Collaboration diagram for geopm::ProcessRegionAggregatorImp:

Public Member Functions

 ProcessRegionAggregatorImp ()
 ProcessRegionAggregatorImp (ApplicationSampler &sampler)
virtual ~ProcessRegionAggregatorImp ()=default
void update (void) override
 Gets the latest set of records from ApplicationSampler.
double get_runtime_average (uint64_t region_hash) const override
 Returns the average total time spent in a region across all processes.
double get_count_average (uint64_t region_hash) const override
 Returns the average number of entries into a region across all processes.
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< ProcessRegionAggregator > make_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: