소스 검색

Fixed timer output.

Daniel Kauth 11 년 전
부모
커밋
e484db21fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bbiwarg/Utility/Timer.cs

+ 1 - 1
bbiwarg/Utility/Timer.cs

@@ -37,7 +37,7 @@ namespace bbiwarg.Utility
         }
 
         public static void output(String name) {
-            Console.WriteLine("name:" + name + "\t" + "avg:" + Math.Round(sumTimes[name] / Math.Max(numTimes[name], 1), 2) + "\t" + "min:" + minTimes[name] + "\t" + "max:" + maxTimes[name]);
+            Console.WriteLine("name:{0}\tavg:{1:00.00}\tmin:{2:00.00}\tmax:{3:00.00}", name, sumTimes[name] / Math.Max(numTimes[name], 1), minTimes[name], maxTimes[name]);
        }
 
         public static void outputAll() {