cvs commit: src/sys/kern kern_clock.c src/sys/sys time.h

Matthew Dillon dillon at apollo.backplane.com
Mon Mar 14 16:53:18 PST 2005


:I also need a CLOCK_MONOTONIC option for clock_gettime to be used in 
:libthread_xu, other options may be: CLOCK_VIRTUAL, CLOCK_PROF as in
:FreeBSD, but they are not must-have options for me.
:
:David Xu

    We have a microseconds resolution monotonic uptime clock available
    that is already in the correct format.  I will add a CLOCK_MONOTONIC
    that returns it right now.

    CLOCK_VIRTUAL and CLOCK_PROF are harder nuts to crack.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list