2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
10 # include <sys/time.h>
14 #include "ecore_private.h"
16 /* FIXME: clock_gettime() is an option... */
19 * Retrieves the current system time as a floating point value in seconds.
20 * @return The number of seconds since 12.00AM 1st January 1970.
21 * @ingroup Ecore_Time_Group
26 #ifdef HAVE_GETTIMEOFDAY
29 gettimeofday(&timev, NULL);
30 return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000);
32 # error "Your platform isn't supported yet"