/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Profiling with Ride7

Username:     
Password:     
             

Forum

# 1   2008-10-15 08:51:55 Profiling with Ride7

zsidi
New member
Registered: 2008-01-30
Posts: 1

Profiling with Ride7

Hello,

I would like to measure code execution time of STM32 code. Is there a built in support for that in Ride7?

I see the following time measurement in Ride7. Time measurement screenshot

- In the debug output window I can see the time ellapsed between two breakpoint stop but the measured time probably not equal with the execution time on STM32.
- I don't know how the other timer shown on the status line works or what it is used for.

Zsidi

Offline

 

# 2   2008-10-21 08:52:10 Profiling with Ride7

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Profiling with Ride7

No. You could use the trace utility in RIDE7, but the simulation model is not accurate enough.
The best solution consists in using an oscilloscope (and toggling pins at the entry/exit of functions). Such measurement code have been implemented in CircleOS (but they are disabled by default).

Offline

 

# 3   2008-10-21 10:27:14 Profiling with Ride7

khauer
Member
Registered: 2008-10-07
Posts: 17

Re: Profiling with Ride7

Hi francis,

where (directory, etc.) exactly is this measurement code implement???

Regards Klaus

Last edited by khauer (2008-10-21 11:11:47)

Offline

 

# 4   2008-10-29 10:13:21 Profiling with Ride7

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Profiling with Ride7

Sorry for this late answer....
Some pins are optionaly toggled in circleOS in the systick handler and in the irq handler. I believe that these pins are available on the extension connector and/or on the pins of the usb port (when the USB controller is not used).
The code of the CircleOS is in the "projects" section.

Offline

 

Board footer