We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e22daf7 commit f6dfc16Copy full SHA for f6dfc16
src/tdme/utilities/Time.h
@@ -25,10 +25,6 @@ class tdme::utilities::Time
25
* @return int64_t
26
*/
27
inline static int64_t getCurrentMillis() {
28
- // TODO: check clock_gettime from time.h
29
- // struct timespec now;
30
- // clock_gettime(CLOCK_REALTIME, &now);
31
- // return (now.tv_sec * 1000L) + (now.tv_nsec / 1000000L);
32
return high_resolution_clock::now().time_since_epoch() / milliseconds(1);
33
}
34
0 commit comments