- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have spin locks from TBB (rw). I am interested to know who owns the lock. Yes, we have information who spins at particular object, but where is that guy who holds a lock? How to identify it?
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We'll try that, thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also notice that the callstack pane can show several types of call stacks:
And the associated help info. (Although, I noticed that "Spin Time" is missing from the documentation - defect filed.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alternatively, (on command line) list sync objects which belongs to different thread, function (I posted for GUI at 5/15/2015 11:22). Use (for example):
# amplxe-cl -R hotspots -group-by sync-obj,thread,function
amplxe: Using result path `/home/peter/problem_report/tachyon/r000lw'
amplxe: Executing actions 50 % Generating a report Sync Object Thread Function Module Wait Time
------------------------------------------------------------------------------------ ---------------------------- --------------------------------------- --------------------- ---------
Mutex 0x2d974b21 tachyon_analyze (TID: 28772) draw_task::operator() tachyon_analyze_locks 6.217s
Mutex 0x2d974b21 tachyon_analyze (TID: 28790) draw_task::operator() tachyon_analyze_locks 6.030s
Mutex 0x2d974b21 tachyon_analyze (TID: 28791) draw_task::operator() tachyon_analyze_locks 4.781s
Mutex 0x2d974b21 tachyon_analyze (TID: 28789) draw_task::operator() tachyon_analyze_locks 4.212s
Condition Variable 0xeea6aa49 tachyon_analyze (TID: 28790) tbb::internal::rml::private_worker::run libtbb.so.2 3.982s
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page