Generate a report for -collect-wth profiling

Generate a report for -collect-wth profiling


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:

$ 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.

Oleg Iegorov

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

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
RtlLookupFunctionEntry ntdll.dll 272600000
KeSynchronizeExecution ntoskrnl.exe 231800000
[Outside any known module] [Unknown] 205000000
RtlLookupFunctionTable ntdll.dll 160000000

Leave a Comment

Please sign in to add a comment. Not a member? Join today