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 dk_drive_rio[DK_NDRIVE];
18 unsigned int dk_drive_wio[DK_NDRIVE];
19 unsigned int dk_drive_rblk[DK_NDRIVE];
20 unsigned int dk_drive_wblk[DK_NDRIVE];
21 unsigned int pgpgin, pgpgout;
22 unsigned int pswpin, pswpout;
23 unsigned int interrupts[NR_IRQS];
24 unsigned int ipackets, opackets;
25 unsigned int ierrors, oerrors;
26 unsigned int collisions;
27 unsigned int context_swtch;
28 };
29
30 extern struct kernel_stat kstat;
31
32 #endif