| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>oscl_tickcount.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.2.18 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <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> |
| 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00003 |
| 00004 <span class="comment">// O S C L _ T I C K C O U N T</span> |
| 00005 |
| 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00007 |
| 00018 <span class="preprocessor">#ifndef OSCL_TICKCOUNT_H_INCLUDED</span> |
| 00019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_TICKCOUNT_H_INCLUDED</span> |
| 00020 <span class="preprocessor"></span> |
| 00021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> |
| 00022 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> |
| 00023 <span class="preprocessor">#endif</span> |
| 00024 <span class="preprocessor"></span> |
| <a name="l00025"></a><a class="code" href="group__osclutil.html#a47">00025</a> <span class="preprocessor">#define OSCLTICKCOUNT_MAX_TICKS 0xffffffff</span> |
| 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> |
| 00035 { |
| 00036 <span class="keyword">public</span>: |
| 00042 <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d0">TickCount</a>(); |
| 00043 |
| 00050 <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d1">TickCountFrequency</a>(); |
| 00051 |
| 00058 <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d2">TickCountPeriod</a>(); |
| 00059 |
| 00065 <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d3">TicksToMsec</a>(uint32 ticks); |
| 00066 |
| 00072 <span class="keyword">static</span> uint32 <a class="code" href="classOsclTickCount.html#d4">MsecToTicks</a>(uint32 msec); |
| 00073 }; |
| 00074 |
| 00075 <span class="preprocessor">#if !OSCL_DISABLE_INLINES</span> |
| 00076 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_tickcount.inl"</span> |
| 00077 <span class="preprocessor">#endif</span> |
| 00078 <span class="preprocessor"></span> |
| 00079 <span class="preprocessor">#endif // OSCL_TICK_UTILS_H_INCLUDED</span> |
| 00080 <span class="preprocessor"></span> |
| </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> |
| </small></address> |
| </body> |
| </html> |