580b076b79
cpu.h: underscores in get_cpu_count() load.cc: underscores in get_cpu_count(), typos memory.cc: missing headers
17 lines
243 B
C
17 lines
243 B
C
#ifndef CPU_H_
|
|
#define CPU_H_
|
|
|
|
#include <sys/types.h>
|
|
|
|
#define CP_USER 0
|
|
#define CP_NICE 1
|
|
#define CP_SYS 2
|
|
#define CP_INTR 3
|
|
#define CP_IDLE 4
|
|
#define CPUSTATES 5
|
|
|
|
float cpu_percentage( unsigned );
|
|
uint8_t get_cpu_count();
|
|
|
|
#endif
|