geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Public Member Functions | List of all members
geopm::DefaultProfile Class Reference
Inheritance diagram for geopm::DefaultProfile:
Inheritance graph
[legend]
Collaboration diagram for geopm::DefaultProfile:
Collaboration graph
[legend]

Public Member Functions

 DefaultProfile ()
 
virtual ~DefaultProfile ()=default
 
- Public Member Functions inherited from geopm::ProfileImp
 ProfileImp ()
 ProfileImp constructor. More...
 
 ProfileImp (const std::string &prof_name, const std::string &report, int num_cpu, std::set< int > cpu_set, std::shared_ptr< ApplicationStatus > app_status, std::shared_ptr< ApplicationRecordLog > app_record_log, bool do_profile, std::shared_ptr< ServiceProxy > service_proxy, std::shared_ptr< Scheduler > scheduler, int registered_pid)
 ProfileImp testable constructor. More...
 
 ProfileImp (const ProfileImp &other)=delete
 
ProfileImp operator= (const ProfileImp &other)=delete
 
virtual ~ProfileImp ()
 ProfileImp destructor, virtual. More...
 
uint64_t region (const std::string &region_name, long hint) override
 Register a region of code to be profiled. More...
 
void enter (uint64_t region_id) override
 Mark a region entry point. More...
 
void exit (uint64_t region_id) override
 Mark a region exit point. More...
 
void epoch (void) override
 Signal pass through outer loop. More...
 
void shutdown (void) override
 
void thread_init (uint32_t num_work_unit) override
 Update the total work for all CPUs. This method should be called by one thread in the same parallel region with the total work units expected to be completed by the entire group. More...
 
void thread_post (int cpu) override
 Mark one unit of work completed by the thread on this CPU. More...
 
std::vector< std::string > region_names (void) override
 
void reset_cpu_set (void) override
 
void overhead (double overhead_sec) override
 
void connect (void) override
 
- Public Member Functions inherited from geopm::Profile
 Profile ()=default
 
virtual ~Profile ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from geopm::Profile
static Profiledefault_profile (void)
 
static int get_cpu (void)
 Returns the Linux logical CPU index that the calling thread is executing on, and caches the result to be used in future calls. This method should be used by callers to report the correct CPU to thread_init() and thread_post(). More...
 
- Protected Attributes inherited from geopm::ProfileImp
bool m_is_enabled
 

Constructor & Destructor Documentation

◆ DefaultProfile()

geopm::DefaultProfile::DefaultProfile ( )

◆ ~DefaultProfile()

virtual geopm::DefaultProfile::~DefaultProfile ( )
virtualdefault

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