Generate a report for -collect-wth profiling

Generate a report for -collect-wth profiling

oleg_iegorov的头像

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

2 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
Peter Wang (Intel)的头像

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

登陆并发表评论。