sysinfo.h | sysinfo.h | |||
---|---|---|---|---|
skipping to change at line 115 | skipping to change at line 115 | |||
unsigned weighted_milli_spent_IO; | unsigned weighted_milli_spent_IO; | |||
unsigned writes; | unsigned writes; | |||
}disk_stat; | }disk_stat; | |||
typedef struct partition_stat{ | typedef struct partition_stat{ | |||
char partition_name [16]; | char partition_name [16]; | |||
unsigned long long reads_sectors; | unsigned long long reads_sectors; | |||
unsigned parent_disk; // index into a struct disk_stat ar ray | unsigned parent_disk; // index into a struct disk_stat ar ray | |||
unsigned reads; | unsigned reads; | |||
unsigned writes; | unsigned writes; | |||
unsigned requested_writes; | unsigned long long requested_writes; | |||
}partition_stat; | }partition_stat; | |||
extern unsigned int getpartitions_num(struct disk_stat *disks, int ndisks); | extern unsigned int getpartitions_num(struct disk_stat *disks, int ndisks); | |||
extern unsigned int getdiskstat (struct disk_stat**,struct partition_stat** ); | extern unsigned int getdiskstat (struct disk_stat**,struct partition_stat** ); | |||
typedef struct slab_cache{ | typedef struct slab_cache{ | |||
char name[48]; | char name[48]; | |||
unsigned active_objs; | unsigned active_objs; | |||
unsigned num_objs; | unsigned num_objs; | |||
unsigned objsize; | unsigned objsize; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||