[INFO] Statistics Module in ChibiOS/RT 3.0

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
Post Reply
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

[INFO] Statistics Module in ChibiOS/RT 3.0

Post 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 4372 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 4372 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
User avatar
Prof. Dr. YoMan
Posts: 57
Joined: Thu May 24, 2012 11:00 am
Been thanked: 1 time

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

Post by Prof. Dr. YoMan »

Nice! Both very welcome additions.

When do you expect 3.0 to be released. What is your target?
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

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

Post by Giovanni »

Next year probably, there is still a lot to do, especially in the HAL.

Giovanni
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

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

Post by Tectu »

This is very nice!
Are those features also usable without eclipse?


~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

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

Post by Giovanni »

You can inspect the variables using the debugger.

Giovanni
Post Reply