arm - Benchmarks on baremetal systems -


i using lpc43xx series, has cortex-m4/m0. bare-metal system. new bare metal programming , want make small benchmark programs performance evaluation. non-cache system. how can ? or should try profiling.

as know there 3 ways measure code execution time in case:

  • timers (init timer on frequency want, read timer value before , after code execution)

  • gpio (or similar thing) set 1 before , 0 after code execution, use oscillograph measure time

  • performance counter embedded cpu, in case think 1 relevant: cycle counter on arm cortex m4 (or m3)?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -