lkml.org 
[lkml]   [2001]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Any idea about watchdog timer in linux
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/
-
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 13:14    [W:0.060 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site