blob: 4687f9021b2141a6928604b1a1e675987eae5184 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stdint.h>
struct cpu_top {
uint8_t busy;
int count;
struct cpu_stat {
uint64_t user, nice, sys, idle;
uint64_t total;
} stat[2];
};
int cpu_top_update(struct cpu_top *cpu);
|