geopm
3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
|
#include "geopm/ServiceProxy.hpp"
#include <sstream>
#include "geopm/PlatformIO.hpp"
#include "geopm/Exception.hpp"
#include "geopm/Helper.hpp"
#include "SDBus.hpp"
#include "SDBusMessage.hpp"
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... | |
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.
[in] | profile_name | String that identifies the application being profiled. |
[in] | max_num_pid | Number of integers allocated for the pid array. |
[out] | num_pid | Actual number of elements written to the pid array. |
[out] | pid | An array of Linux PIDs that are associated with the application. |