#include <stats.h>
#include <sysinfo.h>
#include <errno.h>
#include <stdio.h>
#include <inttypes.h>
#include <malloc.h>
Go to the source code of this file.
Defines | |
#define | SYSINFO_STATS_MAX_PATH 64 |
Functions | |
stats_cpu_t * | stats_get_cpus (size_t *count) |
Get CPUs statistics. | |
stats_exc_t * | stats_get_exception (unsigned int excn) |
Get single exception statistics. | |
stats_exc_t * | stats_get_exceptions (size_t *count) |
Get exception statistics. | |
load_t * | stats_get_load (size_t *count) |
Get system load. | |
stats_physmem_t * | stats_get_physmem (void) |
Get physical memory statistics. | |
stats_task_t * | stats_get_task (task_id_t task_id) |
Get single task statistics. | |
stats_task_t * | stats_get_tasks (size_t *count) |
Get task statistics. | |
stats_thread_t * | stats_get_thread (thread_id_t thread_id) |
Get single thread statistics. | |
stats_thread_t * | stats_get_threads (size_t *count) |
Get thread statistics. | |
sysarg_t | stats_get_uptime (void) |
Get system uptime. | |
void | stats_print_load_fragment (load_t upper, unsigned int dec_length) |
Print load fixed-point value. | |
const char * | thread_get_state (state_t state) |
Variables | |
static const char * | thread_states [] |
Thread states. |
Definition in file stats.c.