Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 13:04:45 +0530 (IST)
From:      "G.B.Naidu" <gbnaidu@sasi.com>
To:        freebsd-net@FreeBSD.org
Cc:        freebsd-hackers@FreeBSD.org
Subject:   How do I time in kernel...
Message-ID:  <Pine.LNX.4.21.0005291300270.775-100000@pcd75.sasi.com>

next in thread | raw e-mail | index | archive | help

Hi,

I would like to know how to get time of the day in side kernel. When I
used gettimeofday() in side kernel, it was giving panic on 3.3 FreeBSD
release. It didnt panic on 3.1-RELEASE. So what is the problem?

Can I use gettimeofday() inside kernel? if so why 3.3 is panicking? Ifnot
why 3.1 is not panicking?

Next question is how can I achieve the equal functionality of
gettimeofday() call in kernel? Is there anyway?

One more question: Is it wrong to call system call from kernel files?

Any help is appreciated.

thanks
--gb


-- 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0005291300270.775-100000>