Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4679 Discussions

Question about Thread Profiler

zhe_huangge_com
Beginner
103 Views

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?

0 Kudos
1 Reply
David_A_Intel1
Employee
103 Views
Hi:

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.
Reply