112004f3db
- Removed OpenBSD stuff from freebsd port - Renamed bsd folder to freebsd since now it contains only freebsd-relevant files. - Changed CMake instructions to account for bsd port changes - modified main source file to account for openbsd port
17 lines
239 B
C
17 lines
239 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 getCpuCount();
|
|
|
|
#endif
|