forked from enlightenment/efl
eina: Add a note about potential use of CLOCK_MONOTONIC
Note it down so we can think about this at some later point.
This commit is contained in:
parent
5c9024424f
commit
03ca51abe7
|
@ -52,6 +52,9 @@ _eina_time_get(Eina_Nano_Time *tp)
|
||||||
if (!clock_gettime(CLOCK_REALTIME, tp))
|
if (!clock_gettime(CLOCK_REALTIME, tp))
|
||||||
return 0;
|
return 0;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
/* FIXME: Have a look if and how we can support CLOCK_MONOTONIC */
|
||||||
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
if (gettimeofday(&tv, NULL))
|
if (gettimeofday(&tv, NULL))
|
||||||
|
|
Loading…
Reference in New Issue