summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/hardclock.9 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/hardclock.9 3.html')
-rw-r--r--static/freebsd/man9/hardclock.9 3.html69
1 files changed, 0 insertions, 69 deletions
diff --git a/static/freebsd/man9/hardclock.9 3.html b/static/freebsd/man9/hardclock.9 3.html
deleted file mode 100644
index 446d83ea..00000000
--- a/static/freebsd/man9/hardclock.9 3.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">HARDCLOCK(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">HARDCLOCK(9)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">hardclock</code> &#x2014;
- <span class="Nd">real-time timer</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><var class="Ft">void</var>
- <br/>
- <code class="Fn">hardclock</code>(<var class="Fa" style="white-space: nowrap;">int
- cnt</var>, <var class="Fa" style="white-space: nowrap;">int
- usermode</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The
- <a class="permalink" href="#hardclock"><code class="Fn" id="hardclock">hardclock</code></a>()
- function is called periodically based on pending work. The rate ranges from
- <var class="Va">hz</var> times per second on a very busy system, to twice a
- second on an idle system. The <var class="Fa">cnt</var> argument reports an
- estimate of the number of ticks since the last call. Over long timescales,
- the average sum of <var class="Fa">cnt</var> over one second is
- <var class="Va">hz</var>. See <a class="Xr">hz(9)</a> for important details
- over shorter time scales. The <var class="Fa">usermode</var> argument is
- non-zero when <code class="Fn">hardclock</code>() is called from an context
- that interrupted usermode execution.</p>
-<p class="Pp" id="hardclock~2"><a class="permalink" href="#hardclock~2"><code class="Fn">hardclock</code></a>()
- may perform different tasks such as:</p>
-<ul class="Bl-bullet Bd-indent">
- <li>Run the current process's virtual and profile time (decrease the
- corresponding timers, if they are activated, and generate
- <code class="Li">SIGVTALRM</code> or <code class="Li">SIGPROF</code>,
- respectively).</li>
- <li>Increment the time-of-day, taking care of any <a class="Xr">ntpd(8)</a> or
- <a class="Xr">adjtime(2)</a> induced changes and leap seconds, as well as
- any necessary compensations to keep in sync with PPS signals or external
- clocks, if supported by the kernel.</li>
- <li>Schedule softclock interrupts (<a class="Xr">swi(9)</a>) processing.</li>
- <li>Collect <a class="Xr">hwpmc(4)</a> statistics.</li>
- <li>Do device polling, when enabled (see <a class="Xr">polling(4)</a>).</li>
- <li>Implement software <a class="Xr">watchdog(9)</a> processing.</li>
- <li>Enqueue <a class="Xr">epoch(9)</a> processing.</li>
-</ul>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">adjtime(2)</a>, <a class="Xr">ntp_adjtime(2)</a>,
- <a class="Xr">signal(3)</a>, <a class="Xr">hwpmc(4)</a>,
- <a class="Xr">polling(4)</a>, <a class="Xr">ntpd(8)</a>,
- <a class="Xr">epoch(9)</a>, <a class="Xr">eventtimers(9)</a>,
- <a class="Xr">hz(9)</a>, <a class="Xr">swi(9)</a>,
- <a class="Xr">watchdog(9)</a></p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">February 27, 2023</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>