how to know the "execution time" and "execution cycles" in simulation

For general Flowcode discussion that does not belong in the other sections.
Post Reply
S_VE
Posts: 26
http://meble-kuchenne.info.pl
Joined: Tue Jan 26, 2021 6:10 am
Has thanked: 36 times
Been thanked: 1 time

Flowcode v9 how to know the "execution time" and "execution cycles" in simulation

Post by S_VE »

Hello everyone

While Debugging in Simulation mode, how can we know the time taken per each STEP ( or from Breakpoint to Breakpoint )
(1) Execution time ( in mS / uS / nS )
(2) Execution Cycles ( in uC cycles )

thanks
S_V

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: how to know the "execution time" and "execution cycles" in simulation

Post by BenR »

Hello,

We do not simulate on this level and so this is currently not possible. We simulate the code but the speed of the sim and the speed of the hardware are not tied together or calculated.

To measure execution time on your hardware simply use the timer component like a stopwatch around the code you want to measure and then display the time on a display or via a serial UART.

S_VE
Posts: 26
Joined: Tue Jan 26, 2021 6:10 am
Has thanked: 36 times
Been thanked: 1 time

Re: how to know the "execution time" and "execution cycles" in simulation

Post by S_VE »

Thank you Ben for your clear reply
S_V

Post Reply