|
geopm 3.2.1.dev237+gbe30cff60
GEOPM - Global Extensible Open Power Manager
|
#include "geopm/ServiceProxy.hpp"#include <sstream>#include <iostream>#include <unistd.h>#include "geopm/PlatformIO.hpp"#include "geopm/Exception.hpp"#include "geopm/Helper.hpp"#include "SDBus.hpp"#include "SDBusMessage.hpp"
Namespaces | |
| namespace | 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. | |
| 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. |