lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Measure loop rate
@ 2020-01-22 17:28 bhanu kiran chaluvadi
  2020-01-23 19:53 ` Jonathan Rajotte-Julien
  0 siblings, 1 reply; 2+ messages in thread
From: bhanu kiran chaluvadi @ 2020-01-22 17:28 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 557 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 854 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-23 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 17:28 Measure loop rate bhanu kiran chaluvadi
2020-01-23 19:53 ` Jonathan Rajotte-Julien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).