Hello everyone!
On Xtensa-based CPUs one can use "rsr.ccount" assembler instruction to read CPU cycles count register.
Do we have something like that on C3, C6, P4 ?
Thanks!
RSR.CCOUNT on Espressif's RISCs?
-
MicroController
- Posts: 2705
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: RSR.CCOUNT on Espressif's RISCs?
Yup: MPCCR by default counts CPU cycles -> https://github.com/espressif/esp-idf/bl ... ils.h#L110
Who is online
Users browsing this forum: No registered users and 3 guests