disk plugin: Multiply the average read/write latency with the interval.
authorFlorian Forster <octo@collectd.org>
Wed, 17 Oct 2012 14:08:07 +0000 (16:08 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 17 Oct 2012 14:15:05 +0000 (16:15 +0200)
commitb3c87d5576e385a407081f86c9a3b84fa6983c0f
tree4061689e5420ffe7ef4b151498fb4cc4484aefce
parentae76b092e5836b9c3ca0267896e6b439e6ea8c2c
disk plugin: Multiply the average read/write latency with the interval.

The counter/derive will later be divided by the interval, resulting in too
small rates (for interval > 1.0).

Should fix issue #150. Thanks to Manuel Sanmartin for identifying this problem!
src/disk.c