• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>oscl_tickcount.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9<hr><h1>oscl_tickcount.h</h1><a href="oscl__tickcount_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1100003
1200004 <span class="comment">//               O S C L _ T I C K C O U N T</span>
1300005
1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1500007
1600018 <span class="preprocessor">#ifndef OSCL_TICKCOUNT_H_INCLUDED</span>
1700019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_TICKCOUNT_H_INCLUDED</span>
1800020 <span class="preprocessor"></span>
1900021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
2000022 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
2100023 <span class="preprocessor">#endif</span>
2200024 <span class="preprocessor"></span>
23<a name="l00025"></a><a class="code" href="group__osclutil.html#a47">00025</a> <span class="preprocessor">#define OSCLTICKCOUNT_MAX_TICKS 0xffffffff</span>
2400026 <span class="preprocessor"></span>
25<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>
2600035 {
2700036     <span class="keyword">public</span>:
2800042         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d0">TickCount</a>();
2900043
3000050         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d1">TickCountFrequency</a>();
3100051
3200058         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d2">TickCountPeriod</a>();
3300059
3400065         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d3">TicksToMsec</a>(uint32 ticks);
3500066
3600072         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d4">MsecToTicks</a>(uint32 msec);
3700073 };
3800074
3900075 <span class="preprocessor">#if !OSCL_DISABLE_INLINES</span>
4000076 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_tickcount.inl"</span>
4100077 <span class="preprocessor">#endif</span>
4200078 <span class="preprocessor"></span>
4300079 <span class="preprocessor">#endif // OSCL_TICK_UTILS_H_INCLUDED</span>
4400080 <span class="preprocessor"></span>
45</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
46<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
47</small></address>
48</body>
49</html>
50