Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 296 to 296 | ||||||||
Performance Estimation | ||||||||
Changed: | ||||||||
< < | All measurements and calculation are based on the Cortex M4F MCU STM32WB55 @ 32 MHz. | |||||||
> > | All measurements and calculation are based on the Cortex M4F MCU STM32WB55 @ 32 MHz. | |||||||
Simple test program to estimate execution time of fsin and fsqrt :
| ||||||||
Line: 315 to 315 | ||||||||
; | ||||||||
Changed: | ||||||||
< < | With fsin it takes about 7 ms, without about 1 ms for 1000 iterations. Therefore a fsin word takes about 6 us. | |||||||
> > | With fsin it takes about 7 ms, without about 1 ms for 1000 iterations. Therefore a fsin word takes about 6 us. For the !STM32F405 @ 168 MHz, the fsin takes about 2 us. | |||||||
Changed: | ||||||||
< < | fsqrt takes also about 2 ms for 1000 iterations. Therefore a fsin word takes about 1 us or less. | |||||||
> > | fsqrt takes also about 2 ms for 1000 iterations. Therefore a fsqrt word takes about 1 us or less (the same time as f/ , see below). | |||||||
Basic operations like f/ are defined as inline. First check fsin and f/ with the builtin disassembler:
|