diff options
Diffstat (limited to 'src/common/timer.h')
| -rw-r--r-- | src/common/timer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/common/timer.h b/src/common/timer.h index b5f0f2585..78d37426b 100644 --- a/src/common/timer.h +++ b/src/common/timer.h | |||
| @@ -4,13 +4,11 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common/common_types.h" | ||
| 8 | #include <string> | 7 | #include <string> |
| 8 | #include "common/common_types.h" | ||
| 9 | 9 | ||
| 10 | namespace Common | 10 | namespace Common { |
| 11 | { | 11 | class Timer { |
| 12 | class Timer | ||
| 13 | { | ||
| 14 | public: | 12 | public: |
| 15 | Timer(); | 13 | Timer(); |
| 16 | 14 | ||
| @@ -18,7 +16,8 @@ public: | |||
| 18 | void Stop(); | 16 | void Stop(); |
| 19 | void Update(); | 17 | void Update(); |
| 20 | 18 | ||
| 21 | // The time difference is always returned in milliseconds, regardless of alternative internal representation | 19 | // The time difference is always returned in milliseconds, regardless of alternative internal |
| 20 | // representation | ||
| 22 | u64 GetTimeDifference(); | 21 | u64 GetTimeDifference(); |
| 23 | void AddTimeDifference(); | 22 | void AddTimeDifference(); |
| 24 | 23 | ||