geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Namespaces | Functions
ServiceProxy.cpp File Reference
#include "geopm/ServiceProxy.hpp"
#include <sstream>
#include "geopm/PlatformIO.hpp"
#include "geopm/Exception.hpp"
#include "geopm/Helper.hpp"
#include "SDBus.hpp"
#include "SDBusMessage.hpp"
Include dependency graph for ServiceProxy.cpp:

Namespaces

 geopm
 

Functions

int geopm_pio_profile_pids (const char *profile_name, int max_num_pid, int *num_pid, int *pid)
 Discover the thread PIDS associated with an application. More...
 

Function Documentation

◆ geopm_pio_profile_pids()

int geopm_pio_profile_pids ( const char *  profile_name,
int  max_num_pid,
int *  num_pid,
int *  pid 
)

Discover the thread PIDS associated with an application.

Called by a profiling application (like geopmctl) to determine which Linux PIDs should be tracked as part of an application.

Parameters
[in]profile_nameString that identifies the application being profiled.
[in]max_num_pidNumber of integers allocated for the pid array.
[out]num_pidActual number of elements written to the pid array.
[out]pidAn array of Linux PIDs that are associated with the application.