Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 1a595394b241504ff370a8d12ebfcea7 > files > 1656

kernel-doc-3.11.10-100.fc18.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>High-resolution timers</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="Basics.html" title="Chapter&#160;1.&#160;Driver Basics" /><link rel="prev" href="API-wake-up-atomic-t.html" title="wake_up_atomic_t" /><link rel="next" href="API-ktime-set.html" title="ktime_set" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">High-resolution timers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-wake-up-atomic-t.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;Driver Basics</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-ktime-set.html">Next</a></td></tr></table><hr /></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="idm140404968039232"></a>High-resolution timers</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-ktime-set.html"><span class="phrase">ktime_set</span></a></span><span class="refpurpose"> &#8212; 
  Set a ktime_t variable from a seconds/nanoseconds value
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-sub.html"><span class="phrase">ktime_sub</span></a></span><span class="refpurpose"> &#8212; 
     subtract two ktime_t variables
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-add.html"><span class="phrase">ktime_add</span></a></span><span class="refpurpose"> &#8212; 
     add two ktime_t variables
 </span></dt><dt><span class="refentrytitle"><a href="API-timespec-to-ktime.html"><span class="phrase">timespec_to_ktime</span></a></span><span class="refpurpose"> &#8212; 
     convert a timespec to ktime_t format
 </span></dt><dt><span class="refentrytitle"><a href="API-timeval-to-ktime.html"><span class="phrase">timeval_to_ktime</span></a></span><span class="refpurpose"> &#8212; 
     convert a timeval to ktime_t format
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-to-timespec.html"><span class="phrase">ktime_to_timespec</span></a></span><span class="refpurpose"> &#8212; 
     convert a ktime_t variable to timespec format
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-to-timeval.html"><span class="phrase">ktime_to_timeval</span></a></span><span class="refpurpose"> &#8212; 
     convert a ktime_t variable to timeval format
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-to-ns.html"><span class="phrase">ktime_to_ns</span></a></span><span class="refpurpose"> &#8212; 
     convert a ktime_t variable to scalar nanoseconds
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-equal.html"><span class="phrase">ktime_equal</span></a></span><span class="refpurpose"> &#8212; 
     Compares two ktime_t variables to see if they are equal
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-compare.html"><span class="phrase">ktime_compare</span></a></span><span class="refpurpose"> &#8212; 
     Compares two ktime_t variables for less, greater or equal
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-to-timespec-cond.html"><span class="phrase">ktime_to_timespec_cond</span></a></span><span class="refpurpose"> &#8212; 
     convert a ktime_t variable to timespec format only if the variable contains data
 </span></dt><dt><span class="refentrytitle"><a href="API-struct-hrtimer.html"><span class="phrase">struct hrtimer</span></a></span><span class="refpurpose"> &#8212; 
  the basic hrtimer structure
 </span></dt><dt><span class="refentrytitle"><a href="API-struct-hrtimer-sleeper.html"><span class="phrase">struct hrtimer_sleeper</span></a></span><span class="refpurpose"> &#8212; 
     simple sleeper structure
 </span></dt><dt><span class="refentrytitle"><a href="API-struct-hrtimer-clock-base.html"><span class="phrase">struct hrtimer_clock_base</span></a></span><span class="refpurpose"> &#8212; 
     the timer base for a specific clock
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-add-ns.html"><span class="phrase">ktime_add_ns</span></a></span><span class="refpurpose"> &#8212; 
  Add a scalar nanoseconds value to a ktime_t variable
 </span></dt><dt><span class="refentrytitle"><a href="API-ktime-sub-ns.html"><span class="phrase">ktime_sub_ns</span></a></span><span class="refpurpose"> &#8212; 
     Subtract a scalar nanoseconds value from a ktime_t variable
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-forward.html"><span class="phrase">hrtimer_forward</span></a></span><span class="refpurpose"> &#8212; 
     forward the timer expiry
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-start-range-ns.html"><span class="phrase">hrtimer_start_range_ns</span></a></span><span class="refpurpose"> &#8212; 
     (re)start an hrtimer on the current CPU
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-start.html"><span class="phrase">hrtimer_start</span></a></span><span class="refpurpose"> &#8212; 
     (re)start an hrtimer on the current CPU
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-try-to-cancel.html"><span class="phrase">hrtimer_try_to_cancel</span></a></span><span class="refpurpose"> &#8212; 
     try to deactivate a timer
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-cancel.html"><span class="phrase">hrtimer_cancel</span></a></span><span class="refpurpose"> &#8212; 
     cancel a timer and wait for the handler to finish.
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-get-remaining.html"><span class="phrase">hrtimer_get_remaining</span></a></span><span class="refpurpose"> &#8212; 
     get remaining time for the timer
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-init.html"><span class="phrase">hrtimer_init</span></a></span><span class="refpurpose"> &#8212; 
     initialize a timer to the given clock
 </span></dt><dt><span class="refentrytitle"><a href="API-hrtimer-get-res.html"><span class="phrase">hrtimer_get_res</span></a></span><span class="refpurpose"> &#8212; 
     get the timer resolution for a clock
 </span></dt><dt><span class="refentrytitle"><a href="API-schedule-hrtimeout-range.html"><span class="phrase">schedule_hrtimeout_range</span></a></span><span class="refpurpose"> &#8212; 
     sleep until timeout
 </span></dt><dt><span class="refentrytitle"><a href="API-schedule-hrtimeout.html"><span class="phrase">schedule_hrtimeout</span></a></span><span class="refpurpose"> &#8212; 
     sleep until timeout
 </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-wake-up-atomic-t.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="Basics.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-ktime-set.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">wake_up_atomic_t</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">ktime_set</span></td></tr></table></div></body></html>