archive mirror
 help / color / mirror / Atom feed
From: bhanu kiran chaluvadi <>
Subject: Measure loop rate
Date: Wed, 22 Jan 2020 18:28:14 +0100	[thread overview]
Message-ID: <> (raw)

[-- 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

what do you think?

Bhanu Kiran . Chaluvadi ,
Mechanical Engineering ,
National Institute of Technology,Warangal,

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

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

lttng-dev mailing list

             reply	other threads:[~2020-01-22 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22 17:28 bhanu kiran chaluvadi [this message]
2020-01-23 19:53 ` Jonathan Rajotte-Julien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: Measure loop rate' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).