make disk.queue a double, add qtime

This commit is contained in:
Doug MacEachern 2008-04-26 23:20:52 +00:00
parent 00084a7219
commit 380fdc4fbb
2 changed files with 4 additions and 3 deletions

View File

@ -843,7 +843,7 @@ use vars qw(%classes %cmds);
plat => '' plat => ''
}, },
{ {
name => 'disk_queue', type => 'Long', name => 'disk_queue', type => 'Double',
desc => '', desc => '',
plat => '' plat => ''
}, },
@ -880,7 +880,7 @@ use vars qw(%classes %cmds);
plat => '' plat => ''
}, },
{ {
name => 'queue', type => 'Long', name => 'queue', type => 'Double',
desc => '', desc => '',
plat => '' plat => ''
}, },

View File

@ -459,12 +459,13 @@ typedef struct {
sigar_uint64_t writes; sigar_uint64_t writes;
sigar_uint64_t write_bytes; sigar_uint64_t write_bytes;
sigar_uint64_t read_bytes; sigar_uint64_t read_bytes;
sigar_uint64_t queue;
sigar_uint64_t rtime; sigar_uint64_t rtime;
sigar_uint64_t wtime; sigar_uint64_t wtime;
sigar_uint64_t qtime;
sigar_uint64_t time; sigar_uint64_t time;
sigar_uint64_t snaptime; sigar_uint64_t snaptime;
double service_time; double service_time;
double queue;
} sigar_disk_usage_t; } sigar_disk_usage_t;
/* XXX for sigar_file_system_usage_t compat */ /* XXX for sigar_file_system_usage_t compat */