aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__tickcount_8h_source.html
blob: eb2dcb07103af5417b93fda7809030552aa9b9c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!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"/>
<title>oscl: oscl_tickcount.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>oscl_tickcount.h</h1><a href="oscl__tickcount_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="comment">//               O S C L _ T I C K C O U N T</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00007"></a>00007 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef OSCL_TICKCOUNT_H_INCLUDED</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_TICKCOUNT_H_INCLUDED</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="oscl__base_8h.html" title="The file oscl_base.h is the public header that should be included to pick up the...">oscl_base.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="group__osclutil.html#ga01152682bd5c18f4cc756a26060aceb8">00025</a> <span class="preprocessor">#define OSCLTICKCOUNT_MAX_TICKS 0xffffffff</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00034"></a><a class="code" href="classOsclTickCount.html">00034</a> <span class="keyword">class </span><a class="code" href="classOsclTickCount.html">OsclTickCount</a>
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036     <span class="keyword">public</span>:
<a name="l00042"></a>00042         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#a5c90adc733b66009942f02b03d26e04c">TickCount</a>();
<a name="l00043"></a>00043 
<a name="l00050"></a>00050         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#af496cdf797c653bc310964ef5518d776">TickCountFrequency</a>();
<a name="l00051"></a>00051 
<a name="l00058"></a>00058         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#a52e4f39f3d189828e241ef9bf78619c9">TickCountPeriod</a>();
<a name="l00059"></a>00059 
<a name="l00065"></a>00065         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#a2a1011925df5b0f83f61138821bd262d">TicksToMsec</a>(uint32 ticks);
<a name="l00066"></a>00066 
<a name="l00072"></a>00072         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#a4c0e7c33363720fe39c2683830ae5d01">MsecToTicks</a>(uint32 msec);
<a name="l00073"></a>00073 };
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="preprocessor">#if !OSCL_DISABLE_INLINES</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#include &quot;oscl_tickcount.inl&quot;</span>
<a name="l00077"></a>00077 <span class="preprocessor">#endif</span>
<a name="l00078"></a>00078 <span class="preprocessor"></span>
<a name="l00079"></a>00079 <span class="preprocessor">#endif // OSCL_TICK_UTILS_H_INCLUDED</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.002.1.1 </small>
</small></address>
</body>
</html>