Hi Radu,

I am running the *demo_MBS_collision_trimesh*.cpp demo. 

I wanna get the *timing info *spent in *broad and narrow collision process* 
especially when I run the code in multiple threads.

Currently, I am using *sys.GetTimerCollisionBroad()* and 
*sys.GetTimerCollisionNarrow()* to get the corresponding timing info. Is it 
the correct way?

Plus, I find Chrono has different ways to profile the code.

1. ChTimer timer_step/ timer_advance/ timer_ls_solve;   
2. CH_PROFILE("ComputeCollisions");
3. BT_PROFILE("performDiscreteCollisionDetection");

Could you please elaborate what are the differences among these three 
methods? Which one should I use for multi-thread timing?

Thank you for your help in advance!
Best
Jiapeng

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/f6437742-297e-4b4f-973b-32320499761dn%40googlegroups.com.

Reply via email to