- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
is it possible to profile already running processes?
Or is it possible to start and stop profiling during the run of a process?
is it possible to profile already running processes?
Or is it possible to start and stop profiling during the run of a process?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.
In order to do it repeatably, API calls in the application are likely to be needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you say for which keywords I have to search for to be able to attach to a running process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check /opt/intel/vtune/analyzer/include/VtuneApi.h. It contains two functions wich can be used for collection control - VTPause and VTResume.
regards, Andrei
regards, Andrei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
But do the functions imply that the app is always started with collection on?
Till my module is loaded I have no control over the app and cannot use VTPause to stop collection. However I guess I can use the pause/resume buttons in the GUI.
But do the functions imply that the app is always started with collection on?
Till my module is loaded I have no control over the app and cannot use VTPause to stop collection. However I guess I can use the pause/resume buttons in the GUI.
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