Re: [E-devel] use of ecore_time_get()

2009-03-13 Thread The Rasterman
On Fri, 20 Feb 2009 15:16:18 +0100 (CET) Vincent Torri vto...@univ-evry.fr said: On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: On Fri, Feb 20, 2009 at 11:04 AM, Vincent Torri vto...@univ-evry.fr wrote: On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: My question is:

[E-devel] use of ecore_time_get()

2009-02-20 Thread Vincent Torri
Hey, the doc of ecore_time_get() says that it returns the number of second (as a double) from a specific date (because of gettimeofday()). On Windows, to simulate gettimeofday(), I have to do a lot of computations, with a precision of 1E-3. I can use another option, to get a higher precision

Re: [E-devel] use of ecore_time_get()

2009-02-20 Thread Vincent Torri
On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: My question is: is ecore_time_get() used for something else that measuring the time between 2 moments ? If no, I think that I can use those high resolution timers on Windows. Sometimes I use it to get real time, to print or insert in db,

Re: [E-devel] use of ecore_time_get()

2009-02-20 Thread Gustavo Sverzut Barbieri
On Fri, Feb 20, 2009 at 8:09 AM, Vincent Torri vto...@univ-evry.fr wrote: Hey, the doc of ecore_time_get() says that it returns the number of second (as a double) from a specific date (because of gettimeofday()). On Windows, to simulate gettimeofday(), I have to do a lot of computations,

Re: [E-devel] use of ecore_time_get()

2009-02-20 Thread Vincent Torri
On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: On Fri, Feb 20, 2009 at 11:04 AM, Vincent Torri vto...@univ-evry.fr wrote: On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: My question is: is ecore_time_get() used for something else that measuring the time between 2 moments ? If

Re: [E-devel] use of ecore_time_get()

2009-02-20 Thread Gustavo Sverzut Barbieri
On Fri, Feb 20, 2009 at 11:04 AM, Vincent Torri vto...@univ-evry.fr wrote: On Fri, 20 Feb 2009, Gustavo Sverzut Barbieri wrote: My question is: is ecore_time_get() used for something else that measuring the time between 2 moments ? If no, I think that I can use those high resolution timers