Messages in this thread | | | Date | Sun, 30 Dec 2001 02:11:54 -0800 | From | george anzinger <> | Subject | Re: 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/
| |