Benchmarking RT HAL component

More
7 years 5 months ago #132465 by Tower
Hello,
I am in need to be pointed to the right direction about real-time component benchmarking and general time measurement.

I am sure it's a quite common concern, but by simple search, I didn't find much. What I want is such: I am writing a real-time HAL component (loaded as loadrt) and would like to measure how long each instance of the main function call took. (The thread will run on the standard 1kHz.)

I am targeting the RT-PREEMPT patch with mainline kernel version.

Any idea?
Thanks.

(The only thing I found so far is ftrace.)

Please Log in to join the conversation.

More
7 years 5 months ago #132467 by BigJohnT
Show Hal Configuration you can watch the .time pin or you can use hal meter.

JT

Please Log in to join the conversation.

More
7 years 5 months ago #132471 by PCW
Replied by PCW on topic Benchmarking RT HAL component
You can also use HALScope or hal-histogram to get a better view of the
statistics

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum