1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct thread_group_cputimer</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="ch01s03.html" title="Delaying, scheduling, and timer routines"><link rel="prev" href="API-struct-task-cputime.html" title="struct task_cputime"><link rel="next" href="API-pid-alive.html" title="pid_alive"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct thread_group_cputimer</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-task-cputime.html">Prev</a> </td><th width="60%" align="center">Delaying, scheduling, and timer routines</th><td width="20%" align="right"> <a accesskey="n" href="API-pid-alive.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-thread-group-cputimer"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct thread_group_cputimer — 
2     thread group interval timer counts
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct thread_group_cputimer {
5  struct task_cputime_atomic cputime_atomic;
6  bool running;
7  bool checking_timer;
8};  </pre></div><div class="refsect1"><a name="id-1.3.4.4.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">cputime_atomic</span></dt><dd><p>
9   atomic thread group interval timers.
10      </p></dd><dt><span class="term">running</span></dt><dd><p>
11   true when there are timers running and
12   <em class="parameter"><code>cputime_atomic</code></em> receives updates.
13      </p></dd><dt><span class="term">checking_timer</span></dt><dd><p>
14   true when a thread in the group is in the
15   process of checking for thread group timers.
16      </p></dd></dl></div></div><div class="refsect1"><a name="id-1.3.4.4.6"></a><h2>Description</h2><p>
17   This structure contains the version of task_cputime, above, that is
18   used for thread group CPU timer calculations.
19</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-task-cputime.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01s03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-pid-alive.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct task_cputime</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">pid_alive</span></td></tr></table></div></body></html>
20