geopm  3.1.1.dev214+gba4f9f6d
GEOPM - Global Extensible Open Power Manager
Classes | Macros | Functions
Imbalancer.cpp File Reference
#include <unistd.h>
#include <string>
#include <string.h>
#include <fstream>
#include "geopm/Exception.hpp"
#include "geopm/Helper.hpp"
#include "geopm_time.h"
#include "geopm_imbalancer.h"
Include dependency graph for Imbalancer.cpp:

Classes

class  Imbalancer
 

Macros

#define HOST_NAME_MAX   255
 

Functions

int geopm_imbalancer_frac (double delay_frac)
 Used to set a delay frac that will sleep for the given fraction of the region runtime. More...
 
int geopm_imbalancer_enter (void)
 Sets the entry time for the imbalanced region. More...
 
int geopm_imbalancer_exit (void)
 Spins until the region has been extended by the previously specified delay. More...
 

Macro Definition Documentation

◆ HOST_NAME_MAX

#define HOST_NAME_MAX   255

Function Documentation

◆ geopm_imbalancer_enter()

int geopm_imbalancer_enter ( void  )

Sets the entry time for the imbalanced region.

◆ geopm_imbalancer_exit()

int geopm_imbalancer_exit ( void  )

Spins until the region has been extended by the previously specified delay.

◆ geopm_imbalancer_frac()

int geopm_imbalancer_frac ( double  delay_frac)

Used to set a delay frac that will sleep for the given fraction of the region runtime.