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

Generate a report for -collect-wth profiling

oleg_iegorov
Beginner
407 Views
Hello,

I haven't found a way to generate a report using amplxe-cl command for the data obtained from profiling with -collect-with option?

As an example:

profiling:
$ amplxe-cl -collect-with runsa -knob event-config=CPU_CLK_UNHALTED.THREAD,INST_RETIRED.ANY

I need something like:
$ amplxe-cl -report hw-events
to generate a report.

Thanks,
Oleg Iegorov
0 Kudos
1 Reply
Peter_W_Intel
Employee
407 Views
I get confused that using "amplxe-cl -report hw-event" can generate a report from the result by using"-collect-with runsa".

(Now I have a problem to connect to Linux box in my office, so I show below from Windows)

C:\temp>amplxe-cl -collect-with runsa -duration 10 -knob event-config=CPU_CLK_UNHALTED.THREAD
Using result path `C:\temp\r016runsa'
Executing actions 75 % Generating a report
Summary
-------

Elapsed Time: 9.974
Executing actions 100 % done

C:\temp>amplxe-cl -report hw-events | more
Using result path `C:\temp\r016runsa'
Executing actions 75 % Generating a report
Function Module CPU_CLK_U
NHALTED.THREAD:Hardware Event Count
----------------------------------------------------- -------------- ---------
-----------------------------------
RtlTimeToSecondsSince1970 ntdll.dll 368600000
0
RtlLookupFunctionEntry ntdll.dll 272600000
0
KeSynchronizeExecution ntoskrnl.exe 231800000
0
[Outside any known module] [Unknown] 205000000
0
RtlLookupFunctionTable ntdll.dll 160000000

0 Kudos
Reply