winlin

refine the disk io busy, can >1

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