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

About custom event-based sampling analysis

krscent
Beginner
349 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
349 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
0 Kudos
krscent
Beginner
349 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
0 Kudos
Peter_W_Intel
Employee
349 Views
What I used is VTune Amplifier XE 2011 Update 2.
No. There is no calibration function available for now.
0 Kudos
Reply