ROSSIER Daniel wrote:
 > Hello,
 > 
 >  
 > 
 > Maybe this issue has already been raised up, anyway...
 > 
 > What would be the best way to simulate a task load in Xenomai RT tasks,
 > avoiding the rt_timer_spin() which is not appropriate
 > 
 > when multiple task context switching occur?
 > 
 > (I've already experimented a simple loop with rt_timer_spin(1), but it
 > is not reasonable since the loop instructions consumes some CPU time as
 > well).
 > 
 >  
 > 
 > Thanks for any advice.

Sorry, but I do not understand what is wrong with rt_timer_spin(). If
you do not want to use this service, maybe you can use
xnarch_get_cpu_tsc() (or __xn_rdtsc() in user-space) ?

-- 


                                            Gilles Chanteperdrix.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to