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
how to know the "execution time" and "execution cycles" in simulation
-
- Posts: 26
- http://meble-kuchenne.info.pl
- Joined: Tue Jan 26, 2021 6:10 am
- Has thanked: 36 times
- Been thanked: 1 time
-
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel