Skip to main content
Visitor II
July 24, 2020
Question

STM32mp1 perf counters issue ?

  • July 24, 2020
  • 1 reply
  • 722 views

Hi,

I'm trying to have some accurate perf measurements with the STM32MP1 for my program on Linux. I've tried several things, among them to use perf Linux tool.

The number of cycles does not match the time elapsed, i.e. the freq processor is at 650Mhz and doing nbre_of_cyles/freq, I 'm quite far way from time elapsed (ratio around 3).

I've tried with freq scaling activated and desactivated, I've the same results.

Any clue ?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    July 27, 2020

    Hi @Kurt​ 

    Please confirm you are talking about same tools as describe here :

    https://wiki.st.com/stm32mpu/wiki/Perf

    Usage looks quite straight forware with no particular tips ...

    Can you share one of your capture sample ?

    Thx

    Olivier