1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><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 cputime; 6 int running; 7 raw_spinlock_t lock; 8}; </pre></div><div class="refsect1"><a name="idp1106691660"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">cputime</span></dt><dd><p> 9 thread group interval timers. 10 </p></dd><dt><span class="term">running</span></dt><dd><p> 11 non-zero when there are timers running and 12 <em class="parameter"><code>cputime</code></em> receives updates. 13 </p></dd><dt><span class="term">lock</span></dt><dd><p> 14 lock for fields in this struct. 15 </p></dd></dl></div></div><div class="refsect1"><a name="idp1106694620"></a><h2>Description</h2><p> 16 This structure contains the version of task_cputime, above, that is 17 used for thread group CPU timer calculations. 18</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> 19