1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::Win32Timer class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::Win32Timer Class Reference</h1><code>#include <<a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a>></code> |
---|
11 | <p> |
---|
12 | <p>Inheritance diagram for Ogre::Win32Timer: |
---|
13 | <p><center><img src="classOgre_1_1Win32Timer.png" usemap="#Ogre::Win32Timer_map" border="0" alt=""></center> |
---|
14 | <map name="Ogre::Win32Timer_map"> |
---|
15 | <area href="classOgre_1_1Timer.html" alt="Ogre::Timer" shape="rect" coords="0,0,113,24"> |
---|
16 | </map> |
---|
17 | <a href="classOgre_1_1Win32Timer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
18 | <tr><td></td></tr> |
---|
19 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
20 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timera0">reset</a> ()</td></tr> |
---|
21 | |
---|
22 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resets timer. <a href="#Ogre_1_1Win32Timera0"></a><br><br></td></tr> |
---|
23 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timera1">getMilliseconds</a> ()</td></tr> |
---|
24 | |
---|
25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns milliseconds since initialisation or last reset. <a href="#Ogre_1_1Win32Timera1"></a><br><br></td></tr> |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timera2">getMicroseconds</a> ()</td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns microseconds since initialisation or last reset. <a href="#Ogre_1_1Win32Timera2"></a><br><br></td></tr> |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timera3">getMillisecondsCPU</a> ()</td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns milliseconds since initialisation or last reset, only CPU time measured. <a href="#Ogre_1_1Win32Timera3"></a><br><br></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timera4">getMicrosecondsCPU</a> ()</td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns microseconds since initialisation or last reset, only CPU time measured. <a href="#Ogre_1_1Win32Timera4"></a><br><br></td></tr> |
---|
35 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>clock_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timerp0">zeroClock</a></td></tr> |
---|
37 | |
---|
38 | <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top>DWORD </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr0">mStartTick</a></td></tr> |
---|
40 | |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top>LONGLONG </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr1">mLastTime</a></td></tr> |
---|
42 | |
---|
43 | <tr><td class="memItemLeft" nowrap align=right valign=top>LARGE_INTEGER </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr2">mStartTime</a></td></tr> |
---|
44 | |
---|
45 | <tr><td class="memItemLeft" nowrap align=right valign=top>LARGE_INTEGER </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr3">mFrequency</a></td></tr> |
---|
46 | |
---|
47 | </table> |
---|
48 | <hr><h2>Member Function Documentation</h2> |
---|
49 | <a class="anchor" name="Ogre_1_1Win32Timera2" doxytag="Ogre::Win32Timer::getMicroseconds" ></a><p> |
---|
50 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
51 | <tr> |
---|
52 | <td class="mdRow"> |
---|
53 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
54 | <tr> |
---|
55 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Win32Timer::getMicroseconds </td> |
---|
56 | <td class="md" valign="top">( </td> |
---|
57 | <td class="mdname1" valign="top" nowrap> </td> |
---|
58 | <td class="md" valign="top"> ) </td> |
---|
59 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
60 | </tr> |
---|
61 | |
---|
62 | </table> |
---|
63 | </td> |
---|
64 | </tr> |
---|
65 | </table> |
---|
66 | <table cellspacing=5 cellpadding=0 border=0> |
---|
67 | <tr> |
---|
68 | <td> |
---|
69 | |
---|
70 | </td> |
---|
71 | <td> |
---|
72 | |
---|
73 | <p> |
---|
74 | Returns microseconds since initialisation or last reset. |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera5">Ogre::Timer</a>. </td> |
---|
79 | </tr> |
---|
80 | </table> |
---|
81 | <a class="anchor" name="Ogre_1_1Win32Timera4" doxytag="Ogre::Win32Timer::getMicrosecondsCPU" ></a><p> |
---|
82 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
83 | <tr> |
---|
84 | <td class="mdRow"> |
---|
85 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
86 | <tr> |
---|
87 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Timer::getMicrosecondsCPU </td> |
---|
88 | <td class="md" valign="top">( </td> |
---|
89 | <td class="mdname1" valign="top" nowrap> </td> |
---|
90 | <td class="md" valign="top"> ) </td> |
---|
91 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
92 | </tr> |
---|
93 | |
---|
94 | </table> |
---|
95 | </td> |
---|
96 | </tr> |
---|
97 | </table> |
---|
98 | <table cellspacing=5 cellpadding=0 border=0> |
---|
99 | <tr> |
---|
100 | <td> |
---|
101 | |
---|
102 | </td> |
---|
103 | <td> |
---|
104 | |
---|
105 | <p> |
---|
106 | Returns microseconds since initialisation or last reset, only CPU time measured. |
---|
107 | <p> |
---|
108 | </td> |
---|
109 | </tr> |
---|
110 | </table> |
---|
111 | <a class="anchor" name="Ogre_1_1Win32Timera1" doxytag="Ogre::Win32Timer::getMilliseconds" ></a><p> |
---|
112 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
113 | <tr> |
---|
114 | <td class="mdRow"> |
---|
115 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
116 | <tr> |
---|
117 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Win32Timer::getMilliseconds </td> |
---|
118 | <td class="md" valign="top">( </td> |
---|
119 | <td class="mdname1" valign="top" nowrap> </td> |
---|
120 | <td class="md" valign="top"> ) </td> |
---|
121 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
122 | </tr> |
---|
123 | |
---|
124 | </table> |
---|
125 | </td> |
---|
126 | </tr> |
---|
127 | </table> |
---|
128 | <table cellspacing=5 cellpadding=0 border=0> |
---|
129 | <tr> |
---|
130 | <td> |
---|
131 | |
---|
132 | </td> |
---|
133 | <td> |
---|
134 | |
---|
135 | <p> |
---|
136 | Returns milliseconds since initialisation or last reset. |
---|
137 | <p> |
---|
138 | |
---|
139 | <p> |
---|
140 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera3">Ogre::Timer</a>. </td> |
---|
141 | </tr> |
---|
142 | </table> |
---|
143 | <a class="anchor" name="Ogre_1_1Win32Timera3" doxytag="Ogre::Win32Timer::getMillisecondsCPU" ></a><p> |
---|
144 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
145 | <tr> |
---|
146 | <td class="mdRow"> |
---|
147 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
148 | <tr> |
---|
149 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Timer::getMillisecondsCPU </td> |
---|
150 | <td class="md" valign="top">( </td> |
---|
151 | <td class="mdname1" valign="top" nowrap> </td> |
---|
152 | <td class="md" valign="top"> ) </td> |
---|
153 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
154 | </tr> |
---|
155 | |
---|
156 | </table> |
---|
157 | </td> |
---|
158 | </tr> |
---|
159 | </table> |
---|
160 | <table cellspacing=5 cellpadding=0 border=0> |
---|
161 | <tr> |
---|
162 | <td> |
---|
163 | |
---|
164 | </td> |
---|
165 | <td> |
---|
166 | |
---|
167 | <p> |
---|
168 | Returns milliseconds since initialisation or last reset, only CPU time measured. |
---|
169 | <p> |
---|
170 | </td> |
---|
171 | </tr> |
---|
172 | </table> |
---|
173 | <a class="anchor" name="Ogre_1_1Win32Timera0" doxytag="Ogre::Win32Timer::reset" ></a><p> |
---|
174 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
175 | <tr> |
---|
176 | <td class="mdRow"> |
---|
177 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
178 | <tr> |
---|
179 | <td class="md" nowrap valign="top"> virtual void Ogre::Win32Timer::reset </td> |
---|
180 | <td class="md" valign="top">( </td> |
---|
181 | <td class="mdname1" valign="top" nowrap> </td> |
---|
182 | <td class="md" valign="top"> ) </td> |
---|
183 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
184 | </tr> |
---|
185 | |
---|
186 | </table> |
---|
187 | </td> |
---|
188 | </tr> |
---|
189 | </table> |
---|
190 | <table cellspacing=5 cellpadding=0 border=0> |
---|
191 | <tr> |
---|
192 | <td> |
---|
193 | |
---|
194 | </td> |
---|
195 | <td> |
---|
196 | |
---|
197 | <p> |
---|
198 | Resets timer. |
---|
199 | <p> |
---|
200 | |
---|
201 | <p> |
---|
202 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera2">Ogre::Timer</a>. </td> |
---|
203 | </tr> |
---|
204 | </table> |
---|
205 | <hr><h2>Member Data Documentation</h2> |
---|
206 | <a class="anchor" name="Ogre_1_1Win32Timerr3" doxytag="Ogre::Win32Timer::mFrequency" ></a><p> |
---|
207 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
208 | <tr> |
---|
209 | <td class="mdRow"> |
---|
210 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
211 | <tr> |
---|
212 | <td class="md" nowrap valign="top"> LARGE_INTEGER <a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr3">Ogre::Win32Timer::mFrequency</a><code> [private]</code> |
---|
213 | </table> |
---|
214 | </td> |
---|
215 | </tr> |
---|
216 | </table> |
---|
217 | <table cellspacing=5 cellpadding=0 border=0> |
---|
218 | <tr> |
---|
219 | <td> |
---|
220 | |
---|
221 | </td> |
---|
222 | <td> |
---|
223 | |
---|
224 | <p> |
---|
225 | |
---|
226 | <p> |
---|
227 | Definition at line <a class="el" href="OgreWin32Timer_8h-source.html#l00039">39</a> of file <a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a>. </td> |
---|
228 | </tr> |
---|
229 | </table> |
---|
230 | <a class="anchor" name="Ogre_1_1Win32Timerr1" doxytag="Ogre::Win32Timer::mLastTime" ></a><p> |
---|
231 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
232 | <tr> |
---|
233 | <td class="mdRow"> |
---|
234 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
235 | <tr> |
---|
236 | <td class="md" nowrap valign="top"> LONGLONG <a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr1">Ogre::Win32Timer::mLastTime</a><code> [private]</code> |
---|
237 | </table> |
---|
238 | </td> |
---|
239 | </tr> |
---|
240 | </table> |
---|
241 | <table cellspacing=5 cellpadding=0 border=0> |
---|
242 | <tr> |
---|
243 | <td> |
---|
244 | |
---|
245 | </td> |
---|
246 | <td> |
---|
247 | |
---|
248 | <p> |
---|
249 | |
---|
250 | <p> |
---|
251 | Definition at line <a class="el" href="OgreWin32Timer_8h-source.html#l00037">37</a> of file <a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a>. </td> |
---|
252 | </tr> |
---|
253 | </table> |
---|
254 | <a class="anchor" name="Ogre_1_1Win32Timerr0" doxytag="Ogre::Win32Timer::mStartTick" ></a><p> |
---|
255 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
256 | <tr> |
---|
257 | <td class="mdRow"> |
---|
258 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
259 | <tr> |
---|
260 | <td class="md" nowrap valign="top"> DWORD <a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr0">Ogre::Win32Timer::mStartTick</a><code> [private]</code> |
---|
261 | </table> |
---|
262 | </td> |
---|
263 | </tr> |
---|
264 | </table> |
---|
265 | <table cellspacing=5 cellpadding=0 border=0> |
---|
266 | <tr> |
---|
267 | <td> |
---|
268 | |
---|
269 | </td> |
---|
270 | <td> |
---|
271 | |
---|
272 | <p> |
---|
273 | |
---|
274 | <p> |
---|
275 | Definition at line <a class="el" href="OgreWin32Timer_8h-source.html#l00036">36</a> of file <a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a>. </td> |
---|
276 | </tr> |
---|
277 | </table> |
---|
278 | <a class="anchor" name="Ogre_1_1Win32Timerr2" doxytag="Ogre::Win32Timer::mStartTime" ></a><p> |
---|
279 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
280 | <tr> |
---|
281 | <td class="mdRow"> |
---|
282 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
283 | <tr> |
---|
284 | <td class="md" nowrap valign="top"> LARGE_INTEGER <a class="el" href="classOgre_1_1Win32Timer.html#Ogre_1_1Win32Timerr2">Ogre::Win32Timer::mStartTime</a><code> [private]</code> |
---|
285 | </table> |
---|
286 | </td> |
---|
287 | </tr> |
---|
288 | </table> |
---|
289 | <table cellspacing=5 cellpadding=0 border=0> |
---|
290 | <tr> |
---|
291 | <td> |
---|
292 | |
---|
293 | </td> |
---|
294 | <td> |
---|
295 | |
---|
296 | <p> |
---|
297 | |
---|
298 | <p> |
---|
299 | Definition at line <a class="el" href="OgreWin32Timer_8h-source.html#l00038">38</a> of file <a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a>. </td> |
---|
300 | </tr> |
---|
301 | </table> |
---|
302 | <a class="anchor" name="Ogre_1_1Win32Timerp0" doxytag="Ogre::Win32Timer::zeroClock" ></a><p> |
---|
303 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
304 | <tr> |
---|
305 | <td class="mdRow"> |
---|
306 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
307 | <tr> |
---|
308 | <td class="md" nowrap valign="top"> clock_t <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timerp0">Ogre::Timer::zeroClock</a><code> [protected, inherited]</code> |
---|
309 | </table> |
---|
310 | </td> |
---|
311 | </tr> |
---|
312 | </table> |
---|
313 | <table cellspacing=5 cellpadding=0 border=0> |
---|
314 | <tr> |
---|
315 | <td> |
---|
316 | |
---|
317 | </td> |
---|
318 | <td> |
---|
319 | |
---|
320 | <p> |
---|
321 | |
---|
322 | <p> |
---|
323 | Definition at line <a class="el" href="OgreTimer_8h-source.html#l00039">39</a> of file <a class="el" href="OgreTimer_8h-source.html">OgreTimer.h</a>. </td> |
---|
324 | </tr> |
---|
325 | </table> |
---|
326 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
327 | <li><a class="el" href="OgreWin32Timer_8h-source.html">OgreWin32Timer.h</a></ul> |
---|
328 | <hr> |
---|
329 | <p> |
---|
330 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
331 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
332 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
333 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
334 | <Work rdf:about=""> |
---|
335 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
336 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
337 | </Work> |
---|
338 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
339 | |
---|
340 | Last modified Sun Feb 12 13:05:16 2006 |
---|
341 | </p> |
---|
342 | </body> |
---|
343 | </html> |
---|