Include dependency graph for childProcess.c:
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. | |
Variables | |
cpChildProcessData | child_process_data |
Global data for child processes. |
|
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.
|