geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Classes | Namespaces | Functions
DefaultProfile.cpp File Reference
#include "geopm/Profile.hpp"
#include <unistd.h>
#include <string.h>
#include "geopm_prof.h"
#include "geopm/Exception.hpp"
Include dependency graph for DefaultProfile.cpp:

Classes

class  geopm::DefaultProfile
 

Namespaces

 geopm
 

Functions

int geopm_prof_region (const char *region_name, uint64_t hint, uint64_t *region_id)
 
int geopm_prof_enter (uint64_t region_id)
 
int geopm_prof_exit (uint64_t region_id)
 
int geopm_prof_epoch (void)
 
int geopm_prof_shutdown (void)
 
int geopm_tprof_init (uint32_t num_work_unit)
 
int geopm_tprof_post (void)
 
int geopm_prof_overhead (double overhead_sec)
 

Function Documentation

◆ geopm_prof_enter()

int geopm_prof_enter ( uint64_t  region_id)

◆ geopm_prof_epoch()

int geopm_prof_epoch ( void  )

◆ geopm_prof_exit()

int geopm_prof_exit ( uint64_t  region_id)

◆ geopm_prof_overhead()

int geopm_prof_overhead ( double  overhead_sec)

◆ geopm_prof_region()

int geopm_prof_region ( const char *  region_name,
uint64_t  hint,
uint64_t *  region_id 
)

◆ geopm_prof_shutdown()

int geopm_prof_shutdown ( void  )

◆ geopm_tprof_init()

int geopm_tprof_init ( uint32_t  num_work_unit)

◆ geopm_tprof_post()

int geopm_tprof_post ( void  )