Commit Graph

4 Commits

Author SHA1 Message Date
Adrien Nader 9d1504dba1 eina: remove Eina_Counter and use provided Windows posix compatible implementation. 2015-02-11 16:38:15 +01:00
Stefan Schmidt 03ca51abe7 eina: Add a note about potential use of CLOCK_MONOTONIC
Note it down so we can think about this at some later point.
2014-10-23 11:12:00 +02:00
Albin Tonnerre ed06184077 eina: allow eina_time_get to fall back to other clocks if the first one fails
Summary:
eina_time_get tries to use only one clock which is defined at compile-time and
returns the result of that one. This causes problems on platforms where eg.
CLOCK_PROCESS_CPUTIME_ID is defined but the clock is actually not implemented
(ie. clock_gettime returns EINVAL), as we simply don't get any time at all.

Instead, make sure we include the code for all defined clocks and simply fall
back to other clocks if the previous ones aren't implemented.

Reviewers: cedric, raster

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D547

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-02-12 11:51:00 +09:00
Cedric BAIL 1d5692baa6 eina: add eina_log_timing. 2013-03-27 21:43:45 +09:00