From: george anzinger <george@mvista.com>
To: Kousalya K <kkasinat@npd.hcltech.com>
Cc: rddunlap@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Any idea about watchdog timer in linux
Date: Sun, 30 Dec 2001 02:11:54 -0800 [thread overview]
Message-ID: <3C2EE86A.98BBCED@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0112040902260.18921-100000@dragon.pdx.osdl.net> <015d01c19111$299ab1c0$3e64a8c0@hcltech.com>
Kousalya K wrote:
>
> Hi all,
>
> I wanted to call a timer function to get current time within kernel space. I
> don't want any function call to do this.
> Any idea ? In AIX we have watchdog stucture and w_stop, w_start, w_init
> functions are there to stop, initiate and start the watchdog timer.
> Anything like that is available in linux?
>
I think you are after the add_timer() del_timer_sync() stuff. These
timers are in units of HZ and cause a function to be called when they
expire. Most of them are deleted prior to expire time.
--
George george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
prev parent reply other threads:[~2001-12-30 10:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-03 10:44 scsi_dev_init who is calling & where its defined? Kousalya K
2001-12-04 17:11 ` rddunlap
2001-12-30 9:05 ` Any idea about watchdog timer in linux Kousalya K
2001-12-30 10:11 ` george anzinger [this message]
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=3C2EE86A.98BBCED@mvista.com \
--to=george@mvista.com \
--cc=kkasinat@npd.hcltech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox