My platform is Core 2 Duo processor, OS is LINUX. And my program have some problem about mutil-thread. So I want to knowevery transition between these threads.
I had captured data using Thread ProfilerLINUX RDC.I setmode=contentionignoreall_thresh=0 ignoreblocks_thresh=0 ignorecs_thresh=0 nodynamic_thresh.
I think this config will get every transitions. But when Ianalyse timeline, I found there are 5 threads in active at the same time. As my CPUjust have two cores, so I can not understand this result.
Aother question, I guess there will be some transition between my threads because priority, but I only see the transition related semaphore. Dose Thread Profile can't catch the transitions related priority?
First, in Thread Profiler, the dark green color is used to indicate that a thread is either running or runnable. We do not distinguish between those two states.
Second, Thread Profiler does NOT collection context switches due to the OS swapping a thread in or out. Only transitions due to threading APIs are captured.