All of lore.kernel.org
 help / color / mirror / Atom feed
From: hejianet@linux.vnet.ibm.com (hejianet)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Can jiffies freeze?
Date: Tue, 22 Jan 2013 17:07:37 +0800	[thread overview]
Message-ID: <50FE56D9.5000103@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAL7WMDcf-c96x9eM2283L5qSWuJtJ3RgPN9QpCNcVTyVaAhnNA@mail.gmail.com>

how about to check the disable/enable timer interrupt?
cat /proc/stat before/after 2 seconds?
On 2013-01-22 13:51, sandeep kumar wrote:
> Hi all
> As far as I know jiffie counter is incremented HZ times/second. And it is
> used to measure the time lapses in the kernel code.
>
> I m seeing a case where, actualy time spent in some module using giffies is
> zero, but while seeing UART logs i am seein 2 sec time difference. I dont
> know how to interpret this. The case which i am seeing, hrtimers are not
> enabled yet, so only thing i can rely are on jiffies.
>
> My question here is,
> Is it possible that the measured time lapse shown is "0"(jiffie count is
> same before and after), but actually some time is spent?(say some 2 sec)
>
> In another way..can jiffies may freeze for some time?
>
> Please clarify...
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  parent reply	other threads:[~2013-01-22  9:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22  5:51 Can jiffies freeze? sandeep kumar
2013-01-22  7:33 ` anish singh
2013-01-22  7:33   ` anish singh
2013-01-22  8:27 ` Mulyadi Santosa
2013-01-22  9:07 ` hejianet [this message]
2013-01-22 18:29   ` sandeep kumar
2013-01-22 18:36     ` sandeep kumar
2013-01-23 15:42       ` Mulyadi Santosa
     [not found]         ` <CAL7WMDexejzaoiDHue-eFK6u59U6mUuz2euo9QoViVY_7Hk8Bg@mail.gmail.com>
2013-01-28  7:59           ` Mulyadi Santosa
2013-01-22 18:40     ` Valdis.Kletnieks at vt.edu
2013-01-22 19:32       ` sandeep kumar
2013-01-22 20:38         ` Valdis.Kletnieks at vt.edu
2013-01-22 23:04           ` sandeep kumar
2013-01-23  6:05         ` bill4carson
2013-01-23 15:08           ` Valdis.Kletnieks at vt.edu

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=50FE56D9.5000103@linux.vnet.ibm.com \
    --to=hejianet@linux.vnet.ibm.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.