6 #ifndef MODELREGION_HPP_INCLUDE
7 #define MODELREGION_HPP_INCLUDE
13 #include "geopm_public.h"
20 static std::unique_ptr<ModelRegion> model_region(
const std::string &name,
25 std::string name(
void);
27 virtual void region(
void);
28 virtual void region(uint64_t hint);
29 virtual void region_enter(
void);
30 virtual void region_exit(
void);
31 virtual void loop_enter(uint64_t iteration);
32 virtual void loop_exit(
void);
33 virtual void big_o(
double big_o_in) = 0;
34 virtual void run(
void) = 0;
36 virtual void num_progress_updates(
double big_o_in);
37 static bool name_check(
const std::string &name,
const std::string &key);
Definition: ModelRegion.hpp:18
double m_big_o
Definition: ModelRegion.hpp:39
bool m_do_progress
Definition: ModelRegion.hpp:43
bool m_do_unmarked
Definition: ModelRegion.hpp:44
uint64_t m_num_progress_updates
Definition: ModelRegion.hpp:45
virtual void big_o(double big_o_in)=0
double m_norm
Definition: ModelRegion.hpp:46
std::string m_name
Definition: ModelRegion.hpp:38
bool m_do_imbalance
Definition: ModelRegion.hpp:42
int m_verbosity
Definition: ModelRegion.hpp:40
uint64_t m_region_id
Definition: ModelRegion.hpp:41
Definition: Accumulator.cpp:12