diff --git a/trunk/src/app/srs_app_utility.cpp b/trunk/src/app/srs_app_utility.cpp index d8d2523fe..e8e60ec55 100644 --- a/trunk/src/app/srs_app_utility.cpp +++ b/trunk/src/app/srs_app_utility.cpp @@ -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); } } diff --git a/trunk/src/app/srs_app_utility.hpp b/trunk/src/app/srs_app_utility.hpp index dca78b67d..5384c8e04 100644 --- a/trunk/src/app/srs_app_utility.hpp +++ b/trunk/src/app/srs_app_utility.hpp @@ -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: