- Posts: 11
- Thank you received: 0
Benchmarking RT HAL component
7 years 5 months ago #132465
by Tower
Benchmarking RT HAL component was created 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.)
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.
7 years 5 months ago #132467
by BigJohnT
Replied by BigJohnT on topic Benchmarking RT HAL component
Show Hal Configuration you can watch the .time pin or you can use hal meter.
JT
JT
Please Log in to join the conversation.
Time to create page: 0.076 seconds
