Remove references to the defunct kern.timecounter.method sysctl variable.
This commit is contained in:
parent
4117f945f3
commit
9236128b6a
@ -69,19 +69,8 @@ Whereas
|
|||||||
.Fn getmicrouptime
|
.Fn getmicrouptime
|
||||||
and
|
and
|
||||||
.Fn getnanouptime
|
.Fn getnanouptime
|
||||||
functions are abstractions which can alternately return a less precise, but
|
functions are abstractions which return a less precise, but
|
||||||
faster to obtain, time.
|
faster to obtain, time.
|
||||||
This behaviour can be toggled via the
|
|
||||||
kern.timecounter.method sysctl variable:
|
|
||||||
.Bl -tag -width ABC
|
|
||||||
.It Dv 0
|
|
||||||
sacrifice precision in favor of faster code execution
|
|
||||||
.It Dv 1
|
|
||||||
return the more precise time (the same as calling
|
|
||||||
.Fn microuptime
|
|
||||||
or
|
|
||||||
.Fn nanouptime ) .
|
|
||||||
.El
|
|
||||||
.Pp
|
.Pp
|
||||||
The intent of the
|
The intent of the
|
||||||
.Fn getmicrouptime
|
.Fn getmicrouptime
|
||||||
@ -95,9 +84,6 @@ execution time.
|
|||||||
.Xr microtime 9 ,
|
.Xr microtime 9 ,
|
||||||
.Xr nanotime 9 ,
|
.Xr nanotime 9 ,
|
||||||
.Xr tvtohz 9
|
.Xr tvtohz 9
|
||||||
.Sh DIAGNOSTICS
|
|
||||||
Buggy hardware can cause "calcru negative..." when kern.timecounter.method
|
|
||||||
is set to 0.
|
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
This manual page was written by
|
This manual page was written by
|
||||||
.An Kelly Yancey Aq kbyanc@posi.net .
|
.An Kelly Yancey Aq kbyanc@posi.net .
|
||||||
|
Loading…
Reference in New Issue
Block a user