winlin

refine the disk io busy, can >1

... ... @@ -526,7 +526,7 @@ void srs_update_disk_stat()
unsigned int ticks = r.ticks - o.ticks;
// busy in [0, 1], where 0.1532 means 15.32%
r.busy = srs_min(1, (float)(ticks / delta_ms));
r.busy = (float)(ticks / delta_ms);
}
}
... ...
... ... @@ -339,7 +339,7 @@ public:
int out_KBps;
// @see: print_partition_stats() of iostat.c
// but its value is [0, 1], for instance, 0.1532 means 15.32%.
// but its value is [0, +], for instance, 0.1532 means 15.32%.
float busy;
public:
... ...