Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
XbmcThreads Namespace Reference

Classes

class  CEventGroup
 
class  ConditionVariable
 
class  CountingLockable
 
class  EndTime
 
class  InversePredicate
 
class  SharedLock
 
class  TightConditionVariable
 
class  UniqueLock
 

Functions

unsigned int SystemClockMillis ()
 

Function Documentation

◆ SystemClockMillis()

unsigned int XbmcThreads::SystemClockMillis ( )

This function returns the system clock's number of milliseconds but with an arbitrary reference point. It handles the wrapping of any underlying system clock by setting a starting point at the first call. It should only be used for measuring time durations.

Of course, on windows it just calls timeGetTime, so you're on your own.