tmux-mem-cpu-load/openbsd/cpu.h
Pawel "l0ner" Soltys 580b076b79 OpenBSD: missing headers, typos
cpu.h: underscores in get_cpu_count()
load.cc: underscores in get_cpu_count(), typos
memory.cc: missing headers
2015-01-20 15:03:49 +01:00

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