Le 25/03/2013 10:23, Vincent van Ravesteijn a écrit :
Add a WIN32 equivalent for gettimeofday This function does not really returns the "time of day", but it will suffice to evaluate elapsed times. What's wrong with using timeGetTime instead? The choice I made was to use plain time to count also the time used by other processes (X server, kernel...). Whan using ticks (at least in linux) I think one does not get the time spent in othe rprocesses). timeGetTime only gets you a time in milliseconds. The example you gave (about the Messages cache) clearly needs microsecond resolution.
OK, I am reading too fast, it seems. What does the performance look like with your fix to format code?
JMarc