Jim Cromie wrote:
 > Offhand, that seems counterintuitive that -n gives lower growth-rate of 
 > total switches,
 > since its equivalent to a shorter list of 'threadspec's

In addition to the threads specified by the 'threadspec's list,
switchtest create a thread (named sleeper) that sleep 10 ms every time
some other thread switches to it. If there are more threads, this
sleeper thread is less likely to run, so there are more context
switches per second.

 > 
 > 
 > Also, 2 possible output change requests:
 > 
 > a - print per-sample measures, not accumulating ones.
 >     this is more consistent with latency, which prints the latencies
 >     seen over the 1-sec sample period
 >     This also feeds better into histogram, w/o adding 'delta' logic to 
 > histogrammer
 > 
 > b - label output lines more in spirit of latency

Ok, I will change the output.

-- 


                                            Gilles Chanteperdrix.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to