Code for monitoring the load on a machine. More...
#include <pthread.h>#include <stdio.h>#include <stdlib.h>#include "pmm_load.h"#include "pmm_log.h"#include "pmm_cfgparser.h"Go to the source code of this file.
Functions | |
| void * | loadmonitor (void *loadhistory) |
Variables | |
| int | signal_quit |
| signal to indicate benchmark should be terminated | |
| pthread_mutex_t | signal_quit_mutex |
| mutex for accessing singal_quit | |
Code for monitoring the load on a machine.
Contains the load monitoring thread of pmm
Definition in file pmm_loadmonitor.c.
| void* loadmonitor | ( | void * | loadhistory | ) |
load monitor thread
monitors and writes load to disk until a quit signal is detected
| loadhistory | void pointer to the load history structue |
Definition at line 54 of file pmm_loadmonitor.c.
| int signal_quit |
signal to indicate benchmark should be terminated
Definition at line 57 of file pmm_main.c.
| pthread_mutex_t signal_quit_mutex |
mutex for accessing singal_quit
Definition at line 58 of file pmm_main.c.
1.8.1.2