Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1048

kernel-doc-2.6.32-71.14.1.el6.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>struct hrtimer_clock_base</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="ch01s04.html" title="High-resolution timers" /><link rel="prev" href="re81.html" title="struct hrtimer_sleeper" /><link rel="next" href="re83.html" title="ktime_add_ns" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct hrtimer_clock_base</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re81.html">Prev</a>&#160;</td><th width="60%" align="center">High-resolution timers</th><td width="20%" align="right">&#160;<a accesskey="n" href="re83.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct hrtimer_clock_base"><a id="API-struct-hrtimer-clock-base"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct hrtimer_clock_base &#8212; 
     the timer base for a specific clock
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct hrtimer_clock_base {
  struct hrtimer_cpu_base * cpu_base;
  clockid_t index;
  struct rb_root active;
  struct rb_node * first;
  ktime_t resolution;
  ktime_t (* get_time) (void);
  ktime_t softirq_time;
#ifdef CONFIG_HIGH_RES_TIMERS
  ktime_t offset;
#endif
};  </pre></div><div class="refsect1" title="Members"><a id="id2604606"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">cpu_base</span></dt><dd><p>
   per cpu clock base
      </p></dd><dt><span class="term">index</span></dt><dd><p>
   clock type index for per_cpu support when moving a
   timer to a base on another cpu.
      </p></dd><dt><span class="term">active</span></dt><dd><p>
   red black tree root node for the active timers
      </p></dd><dt><span class="term">first</span></dt><dd><p>
   pointer to the timer node which expires first
      </p></dd><dt><span class="term">resolution</span></dt><dd><p>
   the resolution of the clock, in nanoseconds
      </p></dd><dt><span class="term">get_time</span></dt><dd><p>
   function to retrieve the current time of the clock
      </p></dd><dt><span class="term">softirq_time</span></dt><dd><p>
   the time when running the hrtimer queue in the softirq
      </p></dd><dt><span class="term">offset</span></dt><dd><p>
   offset of this clock to the monotonic base
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re81.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01s04.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re83.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct hrtimer_sleeper</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>ktime_add_ns</span></td></tr></table></div></body></html>