зеркало из https://github.com/mozilla/pjs.git
Added RealTimeInMilliseconds method to allow better granularity in timing. r=nisheeth a=rickg
This commit is contained in:
Родитель
97b2229648
Коммит
73d08ed9cc
|
@ -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; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче