public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* timer question
@ 2004-03-31 21:11 Chuck Lever
  2004-03-31 21:31 ` Richard B. Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Lever @ 2004-03-31 21:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List

hi all-

i'm looking for a way to do microsecond resolution timing in the RPC
client.  i need a timer or timestamp function that is fairly cheap, that i
can call on any hardware platform, and that i can invoke from inside a
bottom half.

any suggestions?

	- Chuck Lever
--
corporate:	<cel at netapp dot com>
personal:	<chucklever at bigfoot dot com>


^ permalink raw reply	[flat|nested] 4+ messages in thread
* timer question
@ 2002-03-05 13:57 Emmanuel Chaput
  0 siblings, 0 replies; 4+ messages in thread
From: Emmanuel Chaput @ 2002-03-05 13:57 UTC (permalink / raw)
  To: linux-kernel

   Hi !

   I have a problem with the first part of run_timer_list() :

   if (!tv1.index) {
         int n = 1;
          do {
                 cascade_timers(tvecs[n]);
          } while (tvecs[n]->index == 1 && ++n < NOOF_TVECS);
    }

   My problem is that tv*.index is initialized to 0, so the first call to
run_timer_list() will result in a (useless) call to cascade_timers() for
tvecs[1..NOOF_TVECS - 1].

   Am I wrong ? Thanks to anyone who could help me  !

-- 
Emmanuel Chaput                         Dépt Télécom & Réseau, ENSEEIHT
*5 61 58 82 10 (Fax *5 61 58 80 14)         Emmanuel.Chaput@enseeiht.fr



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

end of thread, other threads:[~2004-04-01  6:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 21:11 timer question Chuck Lever
2004-03-31 21:31 ` Richard B. Johnson
2004-04-01  6:10   ` Chris Friesen
  -- strict thread matches above, loose matches on Subject: below --
2002-03-05 13:57 Emmanuel Chaput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox