#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <unistd.h>
#include "utilities.h"
#include "output.h"
Defines | |
| #define | _XOPEN_SOURCE 500 |
| #define | PROCFILESIZE 8888 |
Functions | |
| int | generate_unique_random_filename (char *result, unsigned n) |
| void | get_host_name (host_name_struct *result) |
| void | get_working_directory (working_directory_struct *result) |
| int | get_memory_usage_by_ps (double *virtualMemoryGigaBytes, double *residentMemoryGigaBytes) |
| static int | getNumberFromBuffer (const char *buffer, const char *s) |
| int | get_memory_usage_by_procfile (double *virtualMemGigaBytes, double *residentMemGigaBytes, double *virtualMemPeakGigaBytes) |
Variables | |
| static int | unique_random_filename_counter = 0 |
| #define _XOPEN_SOURCE 500 |
| #define PROCFILESIZE 8888 |
| int generate_unique_random_filename | ( | char * | result, | |
| unsigned | n | |||
| ) |
| void get_host_name | ( | host_name_struct * | result | ) |
| int get_memory_usage_by_procfile | ( | double * | virtualMemGigaBytes, | |
| double * | residentMemGigaBytes, | |||
| double * | virtualMemPeakGigaBytes | |||
| ) |
| int get_memory_usage_by_ps | ( | double * | virtualMemoryGigaBytes, | |
| double * | residentMemoryGigaBytes | |||
| ) |
| void get_working_directory | ( | working_directory_struct * | result | ) |
| static int getNumberFromBuffer | ( | const char * | buffer, | |
| const char * | s | |||
| ) | [static] |
int unique_random_filename_counter = 0 [static] |
1.4.7