perf_event_open: Add support for counting REF_CPU_CYCLES
Using thread's tsc count instead of performance counter Refs: #1025 Change-Id: I1d7a18f1c52f1d52087002d31818638a6b206014
This commit is contained in:
committed by
Masamichi Takagi
parent
bc06d68d84
commit
309145587f
16
test/issues/1025/aarch64_result.log
Normal file
16
test/issues/1025/aarch64_result.log
Normal file
@ -0,0 +1,16 @@
|
||||
*** C1025T01 ******************************************
|
||||
** Linux's result *************************************
|
||||
* REF_CPU_CYCLES event is NOT supported Linux on aarch64
|
||||
|
||||
** McKernel's result *************************************
|
||||
[type: HARDWARE, counter: HW_REF_CPU_CYCLES, exclude: none]
|
||||
fd: 8
|
||||
REF_CPU_CYCLES : 6641022
|
||||
[type: HARDWARE, counter: HW_REF_CPU_CYCLES, exclude: user]
|
||||
fd: 8
|
||||
REF_CPU_CYCLES : 97
|
||||
[type: HARDWARE, counter: HW_REF_CPU_CYCLES, exclude: kernel]
|
||||
fd: 8
|
||||
REF_CPU_CYCLES : 6644473
|
||||
** C1025T01 PASSED
|
||||
|
||||
Reference in New Issue
Block a user