geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Namespaces | Functions
PlatformTopo.cpp File Reference
#include "PlatformTopoImp.hpp"
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/sysinfo.h>
#include <sys/time.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <climits>
#include <map>
#include <fstream>
#include <sstream>
#include <string>
#include <stdexcept>
#include "geopm_sched.h"
#include "geopm_time.h"
#include "geopm/Exception.hpp"
#include "geopm/Helper.hpp"
#include "GPUTopo.hpp"
#include "GPUTopoNull.hpp"
#include "geopm/ServiceProxy.hpp"
#include "geopm/Cpuid.hpp"
Include dependency graph for PlatformTopo.cpp:

Namespaces

 geopm
 

Functions

int geopm_read_cpuid (void)
 Identify host CPU. More...
 
const PlatformTopo & geopm::platform_topo (void)
 
int geopm_topo_num_domain (int domain_type)
 
int geopm_topo_domain_idx (int domain_type, int cpu_idx)
 
int geopm_topo_num_domain_nested (int inner_domain, int outer_domain)
 
int geopm_topo_domain_nested (int inner_domain, int outer_domain, int outer_idx, size_t num_domain_nested, int *domain_nested)
 
int geopm_topo_domain_name (int domain_type, size_t domain_name_max, char *domain_name)
 
int geopm_topo_domain_type (const char *domain_name)
 
int geopm_topo_create_cache (void)
 

Function Documentation

◆ geopm_read_cpuid()

int geopm_read_cpuid ( void  )

Identify host CPU.

◆ geopm_topo_create_cache()

int geopm_topo_create_cache ( void  )

◆ geopm_topo_domain_idx()

int geopm_topo_domain_idx ( int  domain_type,
int  cpu_idx 
)

◆ geopm_topo_domain_name()

int geopm_topo_domain_name ( int  domain_type,
size_t  domain_name_max,
char *  domain_name 
)

◆ geopm_topo_domain_nested()

int geopm_topo_domain_nested ( int  inner_domain,
int  outer_domain,
int  outer_idx,
size_t  num_domain_nested,
int *  domain_nested 
)

◆ geopm_topo_domain_type()

int geopm_topo_domain_type ( const char *  domain_name)

◆ geopm_topo_num_domain()

int geopm_topo_num_domain ( int  domain_type)

◆ geopm_topo_num_domain_nested()

int geopm_topo_num_domain_nested ( int  inner_domain,
int  outer_domain 
)