- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page