From 73d08ed9cc0d398e6a7cf144cf4a8a0f8e22f5b4 Mon Sep 17 00:00:00 2001 From: "attinasi%netscape.com" Date: Fri, 18 Feb 2000 18:50:28 +0000 Subject: [PATCH] Added RealTimeInMilliseconds method to allow better granularity in timing. r=nisheeth a=rickg --- modules/libutil/public/stopwatch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/libutil/public/stopwatch.h b/modules/libutil/public/stopwatch.h index ce29f0ea9f1..69c0c227c53 100644 --- a/modules/libutil/public/stopwatch.h +++ b/modules/libutil/public/stopwatch.h @@ -95,6 +95,7 @@ public: void SaveState(); // record current state of stopwatch void RestoreState(); // restore last recored state of stopwatch double RealTime(); + double RealTimeInMilliseconds(); void Reset() { ResetCpuTime(); ResetRealTime(); } void ResetCpuTime(double aTime = 0) { Stop(); fTotalCpuTime = aTime; } void ResetRealTime(double aTime = 0) { Stop(); fTotalRealTime = aTime; }