1 #ifndef _LINUX_KERNEL_STAT_H
2 #define _LINUX_KERNEL_STAT_H
3
4 #include <asm/irq.h>
5
6
7
8
9
10
11
12 #define DK_NDRIVE 4
13
14 struct kernel_stat {
15 unsigned int cpu_user, cpu_nice, cpu_system;
16 unsigned int dk_drive[DK_NDRIVE];
17 unsigned int pgpgin, pgpgout;
18 unsigned int pswpin, pswpout;
19 unsigned int interrupts[NR_IRQS];
20 unsigned int ipackets, opackets;
21 unsigned int ierrors, oerrors;
22 unsigned int collisions;
23 unsigned int context_swtch;
24 };
25
26 extern struct kernel_stat kstat;
27
28 #endif