Search found 2 matches
- Thu Jul 17, 2025 12:45 pm
- Forum: General Discussion
- Topic: ESP32-C3 Instruction load latency from flash
- Replies: 4
- Views: 179
Re: ESP32-C3 Instruction load latency from flash
MPCER can count a number of different things. What specifically are you counting?
Yes, Sorry, I meant I set MPCER to 0x01 to count CPU cycles and then measure the cycles using MPCCR register. I also set MPCER to 0x02 to measure the number of instructions.
Here's the part of the code I use ...
- Wed Jul 16, 2025 10:45 pm
- Forum: General Discussion
- Topic: ESP32-C3 Instruction load latency from flash
- Replies: 4
- Views: 179
ESP32-C3 Instruction load latency from flash
I am doing a project using the ESP32-C3 development board.
I wanted to measure the clock cycles it takes while a function is called the first time and when it is called again (basically measuring the miss and hit cycles for instruction load from the flash). I wrote a basic function in assembly ...
I wanted to measure the clock cycles it takes while a function is called the first time and when it is called again (basically measuring the miss and hit cycles for instruction load from the flash). I wrote a basic function in assembly ...