tmux-mem-cpu-load/openbsd/cpu.h
Pawel "l0ner" Soltys 112004f3db FreeBSD and OpenBSD ports
- 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
2015-01-20 15:03:48 +01:00

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