Add LiGetMillis() for clients to use for latency calculation

This commit is contained in:
Cameron Gutman
2018-09-25 00:47:22 -07:00
parent b2ebba2167
commit dd7820f100
5 changed files with 15 additions and 7 deletions

View File

@@ -293,7 +293,7 @@ int PltWaitForEvent(PLT_EVENT* event) {
#endif
}
uint64_t PltGetMillis(void) {
unsigned long long PltGetMillis(void) {
#if defined(LC_WINDOWS)
return GetTickCount64();
#elif HAVE_CLOCK_GETTIME