ze-filter
(ze-filter-0.8.0-develop-180218)
|
Go to the source code of this file.
Classes | |
struct | cpustats_t |
Macros | |
#define | OS_OTHER 1 |
#define | JCPU_STATES 5 |
#define | JCPU_SLOPE 100 |
#define | CPUSTAT_INITIALIZER {FALSE, (time_t ) 0, {0, 0, 0, 0, 0}} |
#define | HISTLEN 8 |
#define | CPU_LOAD_LOCK() MUTEX_LOCK(&cpu_mutex) |
#define | CPU_LOAD_UNLOCK() MUTEX_UNLOCK(&cpu_mutex) |
#define | DT_SYSLOAD 10 |
Typedefs | |
typedef int64_t | loadtype_T |
typedef struct cpustats_t | cpustats_t |
Functions | |
void * | load_measure_thread (void *) |
int | evaluate_load_pct (cpustats_t *pct, cpustats_t *old, cpustats_t *new) |
void | print_cpu_load_info () |
void | log_cpu_load_info () |
double | get_cpu_load_info (int which) |
void * | cpuload_thread (void *data) |
void | cpuload_stop () |
bool | cpuload_start () |
#define CPU_LOAD_LOCK | ( | ) | MUTEX_LOCK(&cpu_mutex) |
#define CPU_LOAD_UNLOCK | ( | ) | MUTEX_UNLOCK(&cpu_mutex) |
#define CPUSTAT_INITIALIZER {FALSE, (time_t ) 0, {0, 0, 0, 0, 0}} |
typedef struct cpustats_t cpustats_t |
typedef int64_t loadtype_T |
int evaluate_load_pct | ( | cpustats_t * | pct, |
cpustats_t * | old, | ||
cpustats_t * | new | ||
) |
void* load_measure_thread | ( | void * | ) |