.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@14328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-04-18 14:15:07 +00:00
parent 82bc1a6b85
commit d05e6fa8bf
3 changed files with 15 additions and 8 deletions

View file

@ -13,11 +13,11 @@ int64 usecs(int64 prev = 0);
int msecs(int prev = 0);
class TimeStop : Moveable<TimeStop> {
dword starttime;
double starttime;
public:
dword Elapsed() const { return GetTickCount() - starttime; }
double Seconds() const { return (double)Elapsed() / 1000; }
double Elapsed() const { return usecs() - starttime; }
double Seconds() const { return (double)Elapsed() / 1000000; }
String ToString() const;
void Reset();