[lttng-dev] Measure loop rate
bhanu kiran chaluvadi
nthdimensionalreality at gmail.com
Wed Jan 22 12:28:14 EST 2020
Hi ,
I am trying to observer loop rate of a while loop. Ideally it should take
maximum of 2 ms to finish the cycle (500 Hz at least). And i would like to
trace the loop rate using LTTng user space. whats the better way of doing
it ..Just place one trace point at the start and one at the end ? or is
there any library that i can take advantage of?
while {
trace_point (loop_start,...)
// some thing
trace_point(loop_end,....)
}
what do you think?
--
Bhanu Kiran . Chaluvadi ,
Mechanical Engineering ,
National Institute of Technology,Warangal,
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20200122/993d5fa8/attachment.html>
More information about the lttng-dev
mailing list