Skip to content
Snippets Groups Projects
Commit 9e3f9035 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[host] Updated TimestampTimer

parent b3f34a59
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ private:
inline uint64_t TimestampTimer::getTimestamp()
{
#ifdef COMPILE_FOR_HOST
return 0;
return time(NULL);
#else
// With a timer frequency of 250KHz, the conversion from timer ticks to
// microseconds only take a 2 byte shift (x4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment