Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4727 Discussions

About custom event-based sampling analysis

krscent
Beginner
138 Views
Hi,
I was wondering if there is any way to add/edit an custom event-based sampling anaylsis
under command line interface (amplxe-cl) ?since it's quite not convenience to do so in GUI....
thx!
0 Kudos
3 Replies
Peter_W_Intel
Employee
138 Views
You can run PMU event-based sampling analysis in command line, without creating a new analysis type. Such as -
amplxe-cl -collect-with runsa -duration 10 -knob event-config="CPU_CLK_UNHALTED.THREAD":sa=2000000,"RESOURCE_STALLS.ANY":sa=1000,"UOPS_RETIRED.STALL_CYCLES":sa=1000,"UOPS_RETIRED.TOTAL_CYCLES":sa=1000 --result-dir my_event_0001 --program arguments

Regards, Peter
krscent
Beginner
138 Views
Hi,
Thanks for your advice, but I just copy your command but it replied "Unknown option: -collect-with"
while using amplifier 2011 update 1 command line tool.
By the way, is there any commands can let me choose the way to calibrate samples like the old vtune?
thx!
Kent
Peter_W_Intel
Employee
138 Views
What I used is VTune Amplifier XE 2011 Update 2.
No. There is no calibration function available for now.
Reply