Home | History | Annotate | Download | only in oscl_html
      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>
     10 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
     11 00003 
     12 00004 <span class="comment">//               O S C L _ T I C K C O U N T</span>
     13 00005 
     14 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
     15 00007 
     16 00018 <span class="preprocessor">#ifndef OSCL_TICKCOUNT_H_INCLUDED</span>
     17 00019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_TICKCOUNT_H_INCLUDED</span>
     18 00020 <span class="preprocessor"></span>
     19 00021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
     20 00022 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
     21 00023 <span class="preprocessor">#endif</span>
     22 00024 <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>
     24 00026 <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>
     26 00035 {
     27 00036     <span class="keyword">public</span>:
     28 00042         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d0">TickCount</a>();
     29 00043 
     30 00050         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d1">TickCountFrequency</a>();
     31 00051 
     32 00058         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d2">TickCountPeriod</a>();
     33 00059 
     34 00065         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d3">TicksToMsec</a>(uint32 ticks);
     35 00066 
     36 00072         <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d4">MsecToTicks</a>(uint32 msec);
     37 00073 };
     38 00074 
     39 00075 <span class="preprocessor">#if !OSCL_DISABLE_INLINES</span>
     40 00076 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_tickcount.inl"</span>
     41 00077 <span class="preprocessor">#endif</span>
     42 00078 <span class="preprocessor"></span>
     43 00079 <span class="preprocessor">#endif // OSCL_TICK_UTILS_H_INCLUDED</span>
     44 00080 <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