Include dependency graph for childProcess.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | cpChildProcess |
struct | cpChildProcessData |
Enumerations | |
enum | { CPDB_INITIALIZED } |
enum | { CPDF_INITIALIZED = (1L << CPDB_INITIALIZED) } |
Functions | |
int | cpInitChildProcessData (void) |
Initialize the internal accounting data structures. | |
void | cpKillChildProcessData (void) |
Deinitialize the internal accounting data structures. | |
cpChildProcess * | cpFindChildProcess (pid_t child_pid) |
Find the cpChildProcess structure that corresponds to the given ID. | |
cpChildProcess * | cpCreateChildProcess (pid_t child_pid) |
Create a cpChildProcess object for a child that does not have one yet. | |
void | cpDeleteChildProcess (struct cpChildProcess *cp) |
Delete the given cpChildProcess object. | |
int | cpOpenOutput (struct cpChildProcess *cp, char *base_name, struct timeval *start_time) |
Open and initialize the statistics output file for the given cpChildProcess object. | |
unsigned long long | cpSampleUsage (struct cpChildProcess *cp, struct timeval *run_time) |
Sample the resource usage for a given child process. |
|
Create a cpChildProcess object for a child that does not have one yet.
|
|
Delete the given cpChildProcess object.
|
|
Find the cpChildProcess structure that corresponds to the given ID.
|
|
Initialize the internal accounting data structures.
|
|
Open and initialize the statistics output file for the given cpChildProcess object. The created file will have the form "<base_name>-<pid>.out".
|
|
Sample the resource usage for a given child process.
|