Changed Linux timestamp behavior. Explicitly using CLOCK_MONOTONIC_RAW and CLOCK_REALTIME

This commit is contained in:
Matt Hill
2015-03-16 22:12:37 -04:00
parent f7ed84d5db
commit 39c4756ce7
20 changed files with 120 additions and 79 deletions

View File

@@ -55,7 +55,7 @@ namespace alpr
{
std::cerr << "file does not exist: " << filepath << std::endl;
AlprResults emptyResults;
emptyResults.epoch_time = getEpochTime();
emptyResults.epoch_time = getEpochTimeMs();
emptyResults.img_width = 0;
emptyResults.img_height = 0;
emptyResults.total_processing_time_ms = 0;