forked from enlightenment/efl
parent
45273db267
commit
3488ca351f
|
@ -76,10 +76,10 @@ static int _eina_counter_init_count = 0;
|
|||
static inline int
|
||||
_eina_counter_time_get(Eina_Nano_Time *tp)
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
return clock_gettime(CLOCK_PROF, tp);
|
||||
#else
|
||||
#ifdef __linux__
|
||||
return clock_gettime(CLOCK_PROCESS_CPUTIME_ID, tp);
|
||||
#else
|
||||
return clock_gettime(CLOCK_PROF, tp);
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue