mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 00:41:37 +08:00
Changed Linux timestamp behavior. Explicitly using CLOCK_MONOTONIC_RAW and CLOCK_REALTIME
This commit is contained in:
@@ -26,10 +26,12 @@
|
||||
namespace alpr
|
||||
{
|
||||
|
||||
void getTime(timespec* time);
|
||||
void getTimeMonotonic(timespec* time);
|
||||
long getTimeMonotonicMs();
|
||||
|
||||
double diffclock(timespec time1,timespec time2);
|
||||
|
||||
long getEpochTime();
|
||||
long getEpochTimeMs();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user