lkml.org 
[lkml]   [2003]   [Nov]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 04 Nov 2003 13:36:10 +0100
From"Ihar 'Philips' Filipau" <>
Subject[2.4] Are jiffies in jiffies?
Hello!

   [ I beleive this is real FAQ - so responding with private e-mails 
more appropriate.
     ptr("RTFM") != 0 are welcome. ]

   jiffies declared in kernel/timer.c.
   Name suggests that it is incremented 100 times per second.
   LDD2 suggests that it is incremented every 1000/HZ per second.

   Is it just name misleading - or I really miss the point?

   So to translate this to seconds i need (jiffies*1000/HZ)
   and milliseconds are just (jiffies/HZ) then.

   Am I right?
   I need this for {add,mod}_timer() calls.
-- 
Ihar 'Philips' Filipau  / with best regards from Saarbruecken.
--                                                           _ _ _
  "... and for $64000 question, could you get yourself       |_|*|_|
    vaguely familiar with the notion of on-topic posting?"   |_|_|*|
                                 -- Al Viro @ LKML           |*|*|*|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:58    [from the cache]
©2003-2008