mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
601706688bbb5502538627feb92752760d0d9f24
The raw cycle counter at PMCCNTR_EL0 works in qemu but seems to always read as zero on physical hardware (tested on Juno r1 and Cavium ThunderX), even after ensuring that PMCR_EL0.E and PMCNTENSET_EL0.C are both enabled. Use CNTVCT_EL0 instead; this seems to count at a lower resolution (tens of CPU cycles), but is usable for profiling. Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE README File Quick start guide: cd src make For any more detailed instructions, see http://ipxe.org
Languages
C
97.2%
Assembly
1.5%
Perl
0.6%
Makefile
0.4%
Python
0.2%