2016-10-04 04:57 AM
Hello. Can you help me to measure perfomance of 3 compilers; Keil, IAR and SW4STM32. For example, using the Dhrystone or other benchmark. I use STM32F4-DISCOVERY with stm32f407vg.
P.S.I'm a newbie) Sorre for my English. #!stm32f4-!stm32f407vg2016-10-04 09:16 AM
Ok, so can you configure a TIM and observe the count across the code you want to benchmark, or use the DWT_CYCCNT to count processor cycles?
2016-10-05 04:22 AM
I have a Dhrystone benchmark projecy for8 But I don't understand how it works. I need something similar for STM32F407VG
________________ Attachments : DHRY.rar : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtmB&d=%2Fa%2F0X0000000aWl%2FktlZJ.aDH_vVOzc5LMCXVreYMfZIYEhM9Z_pf8s4Ct8&asPdf=false2016-10-05 01:32 PM
But I don't understand how it works.
That would seem to devalue the usefulness of doing the test rather a lot...http://infocenter.arm.com/help/topic/com.arm.doc.dai0273a/DAI0273A_dhrystone_benchmarking.pdf
2016-10-20 11:18 AM
Keil, Level 3, Optimize for Time
STM32F4-DISCO Running at 192 MHz,Microseconds for one run through Dhrystone: 2.8 Dhrystones per Second: 357995.2 STM32F4-DISCO Running at 168 MHz,Microseconds for one run through Dhrystone: 3.2 Dhrystones per Second: 313479.6