Re: Time some code using Tango

2009-02-03 Thread Jarrett Billingsley
On Tue, Feb 3, 2009 at 7:40 PM, Jarrett Billingsley wrote: > On Tue, Feb 3, 2009 at 7:15 PM, grauzone wrote: >> If he had to use OS specific APIs (which would be another sad thing about >> Tango), I'd suggest to use clock_gettime() with CLOCK_THREAD_CPUTIME_ID >> under Unix. >> >> What is timex?

Re: Time some code using Tango

2009-02-03 Thread Jarrett Billingsley
On Tue, Feb 3, 2009 at 7:15 PM, grauzone wrote: > If he had to use OS specific APIs (which would be another sad thing about > Tango), I'd suggest to use clock_gettime() with CLOCK_THREAD_CPUTIME_ID > under Unix. > > What is timex? http://en.wikipedia.org/wiki/Timex_(Unix)

Re: Time some code using Tango

2009-02-03 Thread grauzone
Jarrett Billingsley wrote: On Tue, Feb 3, 2009 at 5:54 PM, Matthias Walter wrote: Hi there, I'd like to time some functions using Tango, but only including the really used CPU-time. StopWatch and the other time functions I've found don't mind on the CPU usage, which means if I time multiple

Re: Time some code using Tango

2009-02-03 Thread Jarrett Billingsley
On Tue, Feb 3, 2009 at 5:54 PM, Matthias Walter wrote: > Hi there, > > I'd like to time some functions using Tango, but only including the really > used CPU-time. StopWatch and the other time functions I've found don't mind > on the CPU usage, which means if I time multiple processes at once whi