benchmark icon indicating copy to clipboard operation
benchmark copied to clipboard

[FR] Any plan for ARM CPU/GPU perf counters support?

Open rollysys opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. It's really awesome for seeing perf counters support, but it's much better for more platforms like ARM CPU/GPU perf counters, which will help much for android platform benchmark

Describe the solution you'd like Maybe ARM/HwcPipe is a choice, or just porting Android/Simpleperf

@mtrofin

rollysys avatar Jun 04 '22 15:06 rollysys

patches welcome :)

dmah42 avatar Jun 06 '22 10:06 dmah42

Is your feature request related to a problem? Please describe. It's really awesome for seeing perf counters support, but it's much better for more platforms like ARM CPU/GPU perf counters, which will help much for android platform benchmark

Describe the solution you'd like Maybe ARM/HwcPipe is a choice, or just porting Android/Simpleperf

@mtrofin

Muskatul avatar Feb 11 '23 23:02 Muskatul

libpfm4 already supports some

	- For ARM:
		ARMV7 Cortex A8
		ARMV7 Cortex A9
		ARMV7 Cortex A15
		ARMV8 Cortex A57, A53
		Applied Micro X-Gene
		Qualcomm Krait
		Fujitsu A64FX
		Arm Neoverse V1
		Arm Neoverse V2
		Huawei HiSilicon Kunpeng 920

That said, libpfm cannot be seen as a top level abstraction layer for Google Benchmark because it is Linux kernel-specific. Perhaps there is a need to have another layer.

Have you looked at PAPI? https://icl.utk.edu/papi/

There are already several AMD/Nvidia GPUs supported.

HFTrader avatar Mar 08 '23 15:03 HFTrader