Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109322180
D30982.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30982.diff
View Options
diff --git a/share/man/man9/hardclock.9 b/share/man/man9/hardclock.9
--- a/share/man/man9/hardclock.9
+++ b/share/man/man9/hardclock.9
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 25, 2010
+.Dd July 1, 2021
.Dt HARDCLOCK 9
.Os
.Sh NAME
@@ -39,19 +39,26 @@
.Sh DESCRIPTION
The
.Fn hardclock
-function is called
-.Xr hz 9
-times per second.
-It implements the real-time system clock.
-The argument
+function is called periodically based on pending work.
+The rate ranges from
+.Va hz
+times per second on a very busy system, to twice a second on an idle system.
+The
.Va cnt
-is the estimated number of ticks since the last call to
-.Fn hardclock .
+argument reports an estimate of the number of ticks since the last call.
+The sum of
+.Va cnt
+over a second averages
+.Va hz
+over the long haul.
+See
+.Xr hz 9
+for important details over shorter time scales.
The argument
.Va usermode
is none-zero when
.Fn hardclock
-is called from a user-mode context.
+is called from an context that interrupted usermode execution.
.Pp
.Fn hardclock
may perform different tasks such as:
@@ -96,5 +103,4 @@
.Xr ntp_adjtime 2 ,
.Xr signal 3 ,
.Xr ntpd 8 ,
-.Xr callout 9 ,
.Xr hz 9
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 1:53 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16454236
Default Alt Text
D30982.diff (1 KB)
Attached To
Mode
D30982: hardclock.9: Refine some details
Attached
Detach File
Event Timeline
Log In to Comment