Document CLOCK_UPTIME which returns the current uptime in SI seconds.

At the moment it is just an alias for CLOCK_MONOTONIC which reports
the same number.

Sponsored by:	TCP/IP Optimization Fundraise 2005
This commit is contained in:
Andre Oppermann 2005-11-18 17:13:22 +00:00
parent cb752e17a9
commit f6232df7a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152587

View file

@ -33,7 +33,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 17, 2004 .Dd November 18, 2005
.Dt CLOCK_GETTIME 2 .Dt CLOCK_GETTIME 2
.Os .Os
.Sh NAME .Sh NAME
@ -65,6 +65,8 @@ The
argument argument
can be one of four values: CLOCK_REALTIME for time that increments as can be one of four values: CLOCK_REALTIME for time that increments as
a wall clock should, CLOCK_MONOTONIC which increments in SI seconds, a wall clock should, CLOCK_MONOTONIC which increments in SI seconds,
CLOCK_UPTIME which starts at zero when the kernel boots and increments
monotonically in SI seconds while the machine is running,
CLOCK_VIRTUAL for time that increments only when CLOCK_VIRTUAL for time that increments only when
the CPU is running in user mode on behalf of the calling process, or the CPU is running in user mode on behalf of the calling process, or
CLOCK_PROF for time that increments when the CPU is running in user or CLOCK_PROF for time that increments when the CPU is running in user or