Page 1 of 1

[INFO] Statistics Module in ChibiOS/RT 3.0

Posted: Wed Jul 31, 2013 1:20 pm
by Giovanni
Hi,

A small update, after the tickless mode, the statistics module is ready too, few images:

Threads View
Threads View
debug1.png (19.02 KiB) Viewed 4378 times


Note that the thread consumed time is measured in cycles (64bits counter) and the thread worst code path is also calculated in cycles.

Statistics Vies
Statistics Vies
debug2.png (17.29 KiB) Viewed 4378 times


The worst case for critical zones is also measured in cycles.

The statistics module is meant to make system characterization easier for end users with strong hard-realtime requirements. Note that the kernel is running in tickless mode so the total number of interrupts is in the tens instead of the ten thousands after few seconds of runtime.

Giovanni

Re: [INFO] Statistics Module in ChibiOS/RT 3.0

Posted: Wed Jul 31, 2013 2:27 pm
by Prof. Dr. YoMan
Nice! Both very welcome additions.

When do you expect 3.0 to be released. What is your target?

Re: [INFO] Statistics Module in ChibiOS/RT 3.0

Posted: Wed Jul 31, 2013 3:06 pm
by Giovanni
Next year probably, there is still a lot to do, especially in the HAL.

Giovanni

Re: [INFO] Statistics Module in ChibiOS/RT 3.0

Posted: Wed Jul 31, 2013 4:40 pm
by Tectu
This is very nice!
Are those features also usable without eclipse?


~ Tectu

Re: [INFO] Statistics Module in ChibiOS/RT 3.0

Posted: Wed Jul 31, 2013 4:54 pm
by Giovanni
You can inspect the variables using the debugger.

Giovanni