Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

More than one sampling at the same time

GrCorrea
Beginner
279 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
279 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
0 Kudos
Reply