On Mon, Sep 27, 2010 at 7:47 PM, Lucas De Marchi <lucas.demar...@profusion.mobi> wrote: > On Mon, Sep 27, 2010 at 7:35 PM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: >> Log: >> Make ecore_time_get and friends use monotonic clock >> Instead of relying on unix time, use a monotonic clock provided by >> clock_gettime(). If a monotonic clock is not available, it will fallback >> to CLOCK_REALTIME or unix time if neither is available. >> >> The impact is that now it only makes sense to call ecore_time_get() or >> ecore_time_loop_get() if the value retrieved is intended to be used as >> relative to previous/posterior measurements. If an absolute value is >> needed, the right function to call now is ecore_time_unix_get() which >> will give the number of seconds since Jan 1st, 1970, 12:00AM. > > > This is the monotonic clock in svn, and ecore_time_get and > ecore_loop_time_get are properly implemented now. I fixed most of the > cases where they were used when an absolute time was needed. Hopefully > all in EFL are fixed, but since the list is somewhat big, please make > some checks and give it some love. > > I fixed a couple of issues in E-MODULES-EXTRA, but I didn't bother to > going through all the modules and fixing them all. If it's not working > and all you want is the previous behavior, just change the calls > ecore_time_get() and ecore_loop_time_get() to ecore_time_unix_get().
I forgot to say that you can consult the list of calls to these functions at http://people.profusion.mobi/~lucas/ecore_todo.txt I checked the following projects: eve, E-MODULES-EXTRA/everything-websearch, E-MODULES-EXTRA/alarm, TMP/st/elementary, e (but please double check the fm stuff), everything, edje, emotion and PROTO/image-viewer regards Lucas De Marchi ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel