patch-2.1.79 linux/include/linux/kernel_stat.h
Next file: linux/include/linux/minix_fs.h
Previous file: linux/include/linux/ipv6_route.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jan 12 14:46:26 1998
- Orig file:
v2.1.78/linux/include/linux/kernel_stat.h
- Orig date:
Mon Jun 30 15:23:12 1997
diff -u --recursive --new-file v2.1.78/linux/include/linux/kernel_stat.h linux/include/linux/kernel_stat.h
@@ -2,6 +2,7 @@
#define _LINUX_KERNEL_STAT_H
#include <asm/irq.h>
+#include <linux/tasks.h>
/*
* 'kernel_stat.h' contains the definitions needed for doing
@@ -12,7 +13,10 @@
#define DK_NDRIVE 4
struct kernel_stat {
- unsigned int cpu_user, cpu_nice, cpu_system;
+ unsigned int cpu_user, cpu_nice, cpu_system;
+ unsigned int per_cpu_user[NR_CPUS],
+ per_cpu_nice[NR_CPUS],
+ per_cpu_system[NR_CPUS];
unsigned int dk_drive[DK_NDRIVE];
unsigned int dk_drive_rio[DK_NDRIVE];
unsigned int dk_drive_wio[DK_NDRIVE];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov