- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a facility provided for profiling snapshots of fully optimized? E.g. application has been running for a day, now capture 2 minutes of profile data and analyze it (while application contiues to run).
How about of instrumented code?
Also what does it mean when the documentation says:
** Operating system counters can be sampled for each process.
How does this work? Is it using PAPI to query the counters?
Thanks for any help,
Regards
Susanne Balle
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Susanne -
You can use the Intel Trace Collector API to turn the collection of trace data on and off. For the scenario you describe, you could insert logic that could poll an environment variable or some other changeable "device" to know when to turn the collection of trace data on and off. There would be no way to externally affect the tracing of data with justthe default instrumented library.
Intel Trace Collector does work with PAPI. I've not had the chance to try it out, myself, so I couldn't tell you how it works, but I have seen the results of using PAPI counter access.
Hope that helps.
--clay

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