Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2061 Discussions

Snapshot facility and counter sampling in Intel Trace Collector 5.0 on Linux IA64


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,


Susanne Balle

0 Kudos
1 Reply
Black Belt
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.
0 Kudos