Re: [Sipp-users] Updated Average and Standard Deviation Code

2007-03-08 Thread Olivier Jacques
Charles, if you feel this is worth it, I'm fine with that. That would help simplifying the call. Thanks, Olivier. On 3/8/07, Charles P Wright [EMAIL PROTECTED] wrote: (2) The update_nb option seems to take great care to avoid calling getmilliseconds() on every loop. Is there a particular

Re: [Sipp-users] Updated Average and Standard Deviation Code

2007-03-07 Thread Olivier Jacques
On 3/6/07, Charles P Wright [EMAIL PROTECTED] wrote: I have attached a patch to stat.cpp and stat.hpp that: (1) Changes the type of M_counters to unsigned long long from unsigned long (2) Instead of tracking the count , average, and average of the squares in M_counters and the sum and sum of

Re: [Sipp-users] Updated Average and Standard Deviation Code

2007-03-07 Thread Charles P Wright
(2) The update_nb option seems to take great care to avoid calling getmilliseconds() on every loop. Is there a particular system that this call is very expensive on? Olivier, I've done a quick test on Linux and Windows and found that it is quite fast (395/390 nanoseconds), certainly