On Thu, 10 Jan 2008 09:44:52 -0800 Darren Hart <[EMAIL PROTECTED]> wrote:
> On Thursday 10 January 2008 03:12:34 Sebastien Dugue wrote:
> > Move the statistics calculation out of the periodic threads to avoid
> > performing those computation at an RT priority thus impacting the
> > other threads.
> >
> > This allows for a nicer output (not intermingled) as the stats are
> > displayed once all the threads have exited.
> >
> >
> > Signed-off-by: Sebastien Dugue <sebastien.dugue at bull.net>
>
> One nitpic below:
>
<snip>
> > parg_c = { PERIOD_C, ITERATIONS, calc, (void *)CALC_LOOPS_C }; - for
> > (i=0; i < THREADS_PER_GROUP; i++) {
> > + for (i=0; i<(THREADS_PER_GROUP * NUM_GROUPS); i++) {
> > + stats_container_init(&dat[i], ITERATIONS);
> > + stats_quantiles_init(&quantiles[i], 3);
>
> While we're at it we should use the automatic nines value calculation,
> see sched_latency I think (log10(iterations) or some such - forget the
> exact syntax).
>
Yep, will fix.
Sebastien.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list