blob: 8202b1321beb255b21db1bdfcb8f42f2c489aacc [file] [log] [blame]
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Impala: impala::RuntimeProfile::ThreadCounters Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Impala
</div>
<div id="projectbrief">Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classimpala_1_1RuntimeProfile_1_1ThreadCounters.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classimpala_1_1RuntimeProfile_1_1ThreadCounters-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">impala::RuntimeProfile::ThreadCounters Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A set of counters that measure thread info, such as total time, user time, sys time.
<a href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for impala::RuntimeProfile::ThreadCounters:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classimpala_1_1RuntimeProfile_1_1ThreadCounters__coll__graph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a314e52826b395624c0e9d42c15776f1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#a314e52826b395624c0e9d42c15776f1f">total_time_</a></td></tr>
<tr class="separator:a314e52826b395624c0e9d42c15776f1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db52e0ae95d6014261fd07e457d2d2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#a2db52e0ae95d6014261fd07e457d2d2d">user_time_</a></td></tr>
<tr class="separator:a2db52e0ae95d6014261fd07e457d2d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d183be755993c03106ad5ab3ab91c1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#a8d183be755993c03106ad5ab3ab91c1f">sys_time_</a></td></tr>
<tr class="separator:a8d183be755993c03106ad5ab3ab91c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f1de61d55edd8aec9ad94a1fc17e88e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#a1f1de61d55edd8aec9ad94a1fc17e88e">voluntary_context_switches_</a></td></tr>
<tr class="separator:a1f1de61d55edd8aec9ad94a1fc17e88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8a2c4e065b94163582e038ba9cf23bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#ac8a2c4e065b94163582e038ba9cf23bf">involuntary_context_switches_</a></td></tr>
<tr class="separator:ac8a2c4e065b94163582e038ba9cf23bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a5f7fc29f849624a3e18a7175f909def2"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#a5f7fc29f849624a3e18a7175f909def2">ThreadCounterMeasurement</a></td></tr>
<tr class="separator:a5f7fc29f849624a3e18a7175f909def2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8d61fad5237e98f83d91f3c7ea55dba"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html#aa8d61fad5237e98f83d91f3c7ea55dba">RuntimeProfile</a></td></tr>
<tr class="separator:aa8d61fad5237e98f83d91f3c7ea55dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A set of counters that measure thread info, such as total time, user time, sys time. </p>
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00244">244</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
</div><h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="aa8d61fad5237e98f83d91f3c7ea55dba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classimpala_1_1RuntimeProfile.html">RuntimeProfile</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00247">247</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5f7fc29f849624a3e18a7175f909def2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classimpala_1_1ThreadCounterMeasurement.html">ThreadCounterMeasurement</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00246">246</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ac8a2c4e065b94163582e038ba9cf23bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a>* impala::RuntimeProfile::ThreadCounters::involuntary_context_switches_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The number of times a context switch resulted due to a higher priority process becoming runnable or because the current process exceeded its time slice. </p>
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00259">259</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
<p>Referenced by <a class="el" href="runtime-profile_8cc_source.html#l00461">impala::RuntimeProfile::AddThreadCounters()</a>, and <a class="el" href="runtime-profile_8h_source.html#l00758">impala::ThreadCounterMeasurement::Stop()</a>.</p>
</div>
</div>
<a class="anchor" id="a8d183be755993c03106ad5ab3ab91c1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a>* impala::RuntimeProfile::ThreadCounters::sys_time_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00251">251</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
<p>Referenced by <a class="el" href="runtime-profile_8cc_source.html#l00461">impala::RuntimeProfile::AddThreadCounters()</a>, and <a class="el" href="runtime-profile_8h_source.html#l00758">impala::ThreadCounterMeasurement::Stop()</a>.</p>
</div>
</div>
<a class="anchor" id="a314e52826b395624c0e9d42c15776f1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a>* impala::RuntimeProfile::ThreadCounters::total_time_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00249">249</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
<p>Referenced by <a class="el" href="runtime-profile_8cc_source.html#l00461">impala::RuntimeProfile::AddThreadCounters()</a>, and <a class="el" href="runtime-profile_8h_source.html#l00758">impala::ThreadCounterMeasurement::Stop()</a>.</p>
</div>
</div>
<a class="anchor" id="a2db52e0ae95d6014261fd07e457d2d2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a>* impala::RuntimeProfile::ThreadCounters::user_time_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00250">250</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
<p>Referenced by <a class="el" href="runtime-profile_8cc_source.html#l00461">impala::RuntimeProfile::AddThreadCounters()</a>, and <a class="el" href="runtime-profile_8h_source.html#l00758">impala::ThreadCounterMeasurement::Stop()</a>.</p>
</div>
</div>
<a class="anchor" id="a1f1de61d55edd8aec9ad94a1fc17e88e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classimpala_1_1RuntimeProfile_1_1Counter.html">Counter</a>* impala::RuntimeProfile::ThreadCounters::voluntary_context_switches_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The number of times a context switch resulted due to a process voluntarily giving up the processor before its time slice was completed. </p>
<p>Definition at line <a class="el" href="runtime-profile_8h_source.html#l00255">255</a> of file <a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a>.</p>
<p>Referenced by <a class="el" href="runtime-profile_8cc_source.html#l00461">impala::RuntimeProfile::AddThreadCounters()</a>, and <a class="el" href="runtime-profile_8h_source.html#l00758">impala::ThreadCounterMeasurement::Stop()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>be/src/util/<a class="el" href="runtime-profile_8h_source.html">runtime-profile.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceimpala.html">impala</a></li><li class="navelem"><a class="el" href="classimpala_1_1RuntimeProfile.html">RuntimeProfile</a></li><li class="navelem"><a class="el" href="classimpala_1_1RuntimeProfile_1_1ThreadCounters.html">ThreadCounters</a></li>
<li class="footer">Generated on Thu May 7 2015 16:10:50 for Impala by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>
</div>
</body>
</html>