On Wed, Oct 19, 2005 at 11:34:44AM +0530, mnikhil m wrote:
> Oh..cool Thanks Dan
> but can you please tell what does kstat depend upon for this information ?
>  Thanks,
> Nikhil

It comes from the kernel 'boot_time' variable.  See:

http://cvs.opensolaris.org/source/xref/usr/src/uts/common/os/kstat_fr.c#848

        and

http://cvs.opensolaris.org/source/xref/usr/src/uts/common/os/clock.c#1792

- Eric

[ removing osol-discuss ]

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to