Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4660 Discussions

More than one sampling at the same time

GrCorrea
Beginner
110 Views
Dear experts,
Isn't it possible to execute more than one hotspot sampling at the same time with VTune Amplifier XE?
I am trying to perform both collections at the same time:
amplxe-cl.exe -collect lightweight-hotspots -result-dir=BasketballDrive TAppEncoder.exe
amplxe-cl.exe -collect lightweight-hotspots -result-dir=BQTerrace HMEncoder.exe
but the following error shows up when I try to set up the second one:
ERROR - A sampling session is already in progress - Abort current run.
Error: Sampling session is already in progress.
Error in sampling collector. Error code - 57
Best regards,
G. Correa.
0 Kudos
1 Reply
Peter_W_Intel
Employee
110 Views
PMU resource can only be accessed by one process of the product, at a time.

Use hotspots instead of lightweight-hotspots, can run two sessions at same time.

Regards, Peter
Reply