source: OGRE/trunk/ogrenew/Docs/api/html/OgreProfiler_8h-source.html @ 657

Revision 657, 24.4 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreProfiler.h Source File - 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreProfiler.h</h1><a href="OgreProfiler_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
1100002 <span class="comment">-----------------------------------------------------------------------------</span>
1200003 <span class="comment">This source file is part of OGRE</span>
1300004 <span class="comment">    (Object-oriented Graphics Rendering Engine)</span>
1400005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span>
1500006 <span class="comment"></span>
1600007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span>
1700008 <span class="comment">Also see acknowledgements in Readme.html</span>
1800009 <span class="comment"></span>
1900010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span>
2000011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span>
2100012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span>
2200013 <span class="comment">version.</span>
2300014 <span class="comment"></span>
2400015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span>
2500016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span>
2600017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
2700018 <span class="comment"></span>
2800019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span>
2900020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span>
3000021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span>
3100022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span>
3200023 <span class="comment">-----------------------------------------------------------------------------</span>
3300024 <span class="comment">*/</span>
3400025 <span class="comment">/*</span>
3500026 <span class="comment"></span>
3600027 <span class="comment">    Although the code is original, many of the ideas for the profiler were borrowed from </span>
3700028 <span class="comment">"Real-Time In-Game Profiling" by Steve Rabin which can be found in Game Programming</span>
3800029 <span class="comment">Gems 1.</span>
3900030 <span class="comment"></span>
4000031 <span class="comment">    This code can easily be adapted to your own non-Ogre project. The only code that is </span>
4100032 <span class="comment">Ogre-dependent is in the visualization/logging routines and the use of the Timer class.</span>
4200033 <span class="comment"></span>
4300034 <span class="comment">    Enjoy!</span>
4400035 <span class="comment"></span>
4500036 <span class="comment">*/</span>
4600037
4700038 <span class="preprocessor">#ifndef __Profiler_H__</span>
4800039 <span class="preprocessor"></span><span class="preprocessor">#define __Profiler_H__</span>
4900040 <span class="preprocessor"></span>
5000041 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span>
5100042 <span class="preprocessor">#include "<a class="code" href="OgreSingleton_8h.html">OgreSingleton.h</a>"</span>
5200043 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span>
5300044 <span class="preprocessor">#include "<a class="code" href="OgreOverlay_8h.html">OgreOverlay.h</a>"</span>
5400045
5500046 <span class="preprocessor">#if OGRE_PROFILING == 1</span>
5600047 <span class="preprocessor"></span><span class="preprocessor">#   if OGRE_COMPILER != OGRE_COMPILER_BORL</span>
5700048 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfile( a ) Ogre::Profile _OgreProfileInstance( (a) )</span>
5800049 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfileBegin( a ) Ogre::Profiler::getSingleton().beginProfile( (a) )</span>
5900050 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfileEnd( a ) Ogre::Profiler::getSingleton().endProfile( (a) )</span>
6000051 <span class="preprocessor"></span><span class="preprocessor">#   else</span>
6100052 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfile( a ) Ogre::Profile _OgreProfileInstance( __FUNC__ )</span>
6200053 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfileBegin( a ) Ogre::Profiler::getSingleton().beginProfile( __FUNC__ )</span>
6300054 <span class="preprocessor"></span><span class="preprocessor">#       define OgreProfileEnd( a ) Ogre::Profiler::getSingleton().endProfile( __FUNC__ )</span>
6400055 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
6500056 <span class="preprocessor"></span><span class="preprocessor">#else</span>
66<a name="l00057"></a><a class="code" href="OgreProfiler_8h.html#a0">00057</a> <span class="preprocessor"></span><span class="preprocessor">#   define OgreProfile( a )</span>
67<a name="l00058"></a><a class="code" href="OgreProfiler_8h.html#a1">00058</a> <span class="preprocessor"></span><span class="preprocessor">#   define OgreProfileBegin( a )</span>
68<a name="l00059"></a><a class="code" href="OgreProfiler_8h.html#a2">00059</a> <span class="preprocessor"></span><span class="preprocessor">#   define OgreProfileEnd( a )</span>
6900060 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
7000061 <span class="preprocessor"></span>
7100062 <span class="keyword">namespace </span>Ogre {
7200063
73<a name="l00074"></a><a class="code" href="classOgre_1_1Profile.html">00074</a>     <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a16">_OgreExport</a> Profile {
7400075
7500076         <span class="keyword">public</span>:
7600077             Profile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
7700078             ~Profile();
7800079
7900080         <span class="keyword">protected</span>:
8000081
81<a name="l00083"></a><a class="code" href="classOgre_1_1Profile.html#Ogre_1_1Profilep0">00083</a>             <a class="code" href="namespaceOgre.html#a426">String</a> mName;
8200084             
8300085
8400086     };
8500087
86<a name="l00099"></a><a class="code" href="classOgre_1_1Profiler.html">00099</a>     <span class="keyword">class </span><a class="code" href="class__OgreExport.html">_OgreExport</a> Profiler : <span class="keyword">public</span> <a class="code" href="classOgre_1_1Singleton.html">Singleton</a>&lt;Profiler&gt; {
8700100
8800101         <span class="keyword">public</span>:
8900102             Profiler();
9000103             ~Profiler();
9100104
9200106             <span class="keywordtype">void</span> setTimer(<a class="code" href="classOgre_1_1Timer.html">Timer</a>* t);
9300107
9400109             <a class="code" href="classOgre_1_1Timer.html">Timer</a>* getTimer();
9500110
9600123             <span class="keywordtype">void</span> beginProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
9700124
9800137             <span class="keywordtype">void</span> endProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
9900138
10000144             <span class="keywordtype">void</span> setEnabled(<span class="keywordtype">bool</span> enabled);
10100145
10200147             <span class="keywordtype">bool</span> getEnabled() <span class="keyword">const</span>;
10300148
10400153             <span class="keywordtype">void</span> enableProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
10500154
10600159             <span class="keywordtype">void</span> disableProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
10700160
10800166             <span class="keywordtype">bool</span> watchForMax(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
10900167
11000173             <span class="keywordtype">bool</span> watchForMin(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName);
11100174
11200184             <span class="keywordtype">bool</span> watchForLimit(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; profileName, <a class="code" href="namespaceOgre.html#a420">Real</a> limit, <span class="keywordtype">bool</span> greaterThan = <span class="keyword">true</span>);
11300185
11400187             <span class="keywordtype">void</span> logResults();
11500188
11600190             <span class="keywordtype">void</span> reset();
11700191
11800193             <span class="keywordtype">void</span> setUpdateDisplayFrequency(<a class="code" href="namespaceOgre.html#a423">uint</a> freq);
11900194
12000196             <a class="code" href="namespaceOgre.html#a423">uint</a> getUpdateDisplayFrequency() <span class="keyword">const</span>;
12100197
12200213             <span class="keyword">static</span> Profiler&amp; getSingleton(<span class="keywordtype">void</span>);
12300229             <span class="keyword">static</span> Profiler* getSingletonPtr(<span class="keywordtype">void</span>);
12400230
12500231         <span class="keyword">protected</span>:
12600232
12700234             <span class="keywordtype">void</span> initialize();
12800235
12900237             <span class="keywordtype">void</span> displayResults();
13000238
13100240             <span class="keywordtype">void</span> processFrameStats();
13200241
13300243             <span class="keywordtype">void</span> changeEnableState();
13400244
13500246             <a class="code" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a>* createContainer();
13600247
13700249             <a class="code" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* createTextArea(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; name, <a class="code" href="namespaceOgre.html#a420">Real</a> width, <a class="code" href="namespaceOgre.html#a420">Real</a> height, <a class="code" href="namespaceOgre.html#a420">Real</a> top, <a class="code" href="namespaceOgre.html#a420">Real</a> left,
13800250                                        <a class="code" href="namespaceOgre.html#a423">uint</a> fontSize, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; caption, <span class="keywordtype">bool</span> show = <span class="keyword">true</span>);
13900251
14000253             <a class="code" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* createPanel(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; name, <a class="code" href="namespaceOgre.html#a420">Real</a> width, <a class="code" href="namespaceOgre.html#a420">Real</a> height, <a class="code" href="namespaceOgre.html#a420">Real</a> top, <a class="code" href="namespaceOgre.html#a420">Real</a> left,
14100254                                     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; materialName, <span class="keywordtype">bool</span> show = <span class="keyword">true</span>);
14200255
143<a name="l00257"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html">00257</a>             <span class="keyword">struct </span><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html">ProfileInstance</a> {
14400258
145<a name="l00260"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html#Ogre_1_1Profiler_1_1ProfileInstanceo0">00260</a>                 <a class="code" href="namespaceOgre.html#a426">String</a>      name;
14600261
147<a name="l00263"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html#Ogre_1_1Profiler_1_1ProfileInstanceo1">00263</a>                 <a class="code" href="namespaceOgre.html#a426">String</a>      parent;
14800264
149<a name="l00266"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html#Ogre_1_1Profiler_1_1ProfileInstanceo2">00266</a>                 <a class="code" href="namespaceOgre.html#a424">ulong</a>       currTime;
15000267
151<a name="l00270"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html#Ogre_1_1Profiler_1_1ProfileInstanceo3">00270</a>                 <a class="code" href="namespaceOgre.html#a424">ulong</a>       accum;
15200271
153<a name="l00273"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileInstance.html#Ogre_1_1Profiler_1_1ProfileInstanceo4">00273</a>                 <a class="code" href="namespaceOgre.html#a423">uint</a>        hierarchicalLvl;
15400274             };
15500275
156<a name="l00278"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html">00278</a>             <span class="keyword">struct </span><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html">ProfileFrame</a> {
15700279                 
158<a name="l00281"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html#Ogre_1_1Profiler_1_1ProfileFrameo0">00281</a>                 <a class="code" href="namespaceOgre.html#a426">String</a>  name;
15900282
160<a name="l00284"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html#Ogre_1_1Profiler_1_1ProfileFrameo1">00284</a>                 <a class="code" href="namespaceOgre.html#a424">ulong</a>   frameTime;
16100285
162<a name="l00287"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html#Ogre_1_1Profiler_1_1ProfileFrameo2">00287</a>                 <a class="code" href="namespaceOgre.html#a423">uint</a>    calls;
16300288
164<a name="l00290"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileFrame.html#Ogre_1_1Profiler_1_1ProfileFrameo3">00290</a>                 <a class="code" href="namespaceOgre.html#a423">uint</a>    hierarchicalLvl;
16500291
16600292             };
16700293             
168<a name="l00295"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html">00295</a>             <span class="keyword">struct </span><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html">ProfileHistory</a> {
16900296
170<a name="l00298"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo0">00298</a>                 <a class="code" href="namespaceOgre.html#a426">String</a>  name;
17100299
172<a name="l00301"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo1">00301</a>                 <a class="code" href="namespaceOgre.html#a420">Real</a>    currentTime; <span class="comment">// %</span>
17300302
174<a name="l00304"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo2">00304</a>                 <a class="code" href="namespaceOgre.html#a420">Real</a>    maxTime; <span class="comment">// %</span>
17500305
176<a name="l00307"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo3">00307</a>                 <a class="code" href="namespaceOgre.html#a420">Real</a>    minTime; <span class="comment">// %</span>
17700308
178<a name="l00310"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo4">00310</a>                 <a class="code" href="namespaceOgre.html#a423">uint</a>    numCallsThisFrame;
17900311
180<a name="l00314"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo5">00314</a>                 <a class="code" href="namespaceOgre.html#a420">Real</a>    totalTime; <span class="comment">// %</span>
18100315
182<a name="l00318"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo6">00318</a>                 <a class="code" href="namespaceOgre.html#a424">ulong</a>   totalCalls; <span class="comment">// %</span>
18300319
184<a name="l00321"></a><a class="code" href="structOgre_1_1Profiler_1_1ProfileHistory.html#Ogre_1_1Profiler_1_1ProfileHistoryo7">00321</a>                 <a class="code" href="namespaceOgre.html#a423">uint</a>    hierarchicalLvl;
18500322
18600323             };
18700324
18800325             
189<a name="l00326"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">00326</a>             <span class="keyword">typedef</span> std::list&lt;ProfileInstance&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">ProfileStack</a>;
190<a name="l00327"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">00327</a>             <span class="keyword">typedef</span> std::list&lt;ProfileFrame&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">ProfileFrameList</a>;
191<a name="l00328"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">00328</a>             <span class="keyword">typedef</span> std::list&lt;ProfileHistory&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">ProfileHistoryList</a>;
192<a name="l00329"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">00329</a>             <span class="keyword">typedef</span> std::map&lt;String, ProfileHistoryList::iterator&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">ProfileHistoryMap</a>;
193<a name="l00330"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">00330</a>             <span class="keyword">typedef</span> std::map&lt;String, bool&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a>;
19400331
195<a name="l00332"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">00332</a>             <span class="keyword">typedef</span> std::list&lt;OverlayElement*&gt; <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a>;
19600333
197<a name="l00335"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp0">00335</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">ProfileStack</a> mProfiles;
19800336
199<a name="l00339"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp1">00339</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">ProfileFrameList</a> mProfileFrame;
20000340
201<a name="l00342"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp2">00342</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">ProfileHistoryList</a> mProfileHistory;
20200343
203<a name="l00345"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp3">00345</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">ProfileHistoryMap</a> mProfileHistoryMap;
20400346
205<a name="l00348"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp4">00348</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a> mDisabledProfiles;
20600349
207<a name="l00351"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp5">00351</a>             <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a> mProfileBars;
20800352
209<a name="l00354"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp6">00354</a>             <span class="keywordtype">bool</span> mInitialized;
21000355
211<a name="l00357"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp7">00357</a>             <a class="code" href="namespaceOgre.html#a423">uint</a> maxProfiles;
21200358
213<a name="l00360"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp8">00360</a>             <a class="code" href="classOgre_1_1Overlay.html">Overlay</a>* mOverlay;
21400361
215<a name="l00363"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp9">00363</a>             <a class="code" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a>* mProfileGui;
21600364
217<a name="l00366"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp10">00366</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mBarHeight;
21800367
219<a name="l00369"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp11">00369</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mGuiHeight;
22000370
221<a name="l00372"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp12">00372</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mGuiWidth;
22200373
223<a name="l00375"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp13">00375</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mBarIndent;
22400376
225<a name="l00378"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp14">00378</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mGuiBorderWidth;
22600379
227<a name="l00381"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp15">00381</a>             <a class="code" href="namespaceOgre.html#a420">Real</a> mBarLineWidth;
22800382
229<a name="l00385"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp16">00385</a>             <a class="code" href="namespaceOgre.html#a423">uint</a> mUpdateDisplayFrequency;
23000386
231<a name="l00388"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp17">00388</a>             <a class="code" href="namespaceOgre.html#a423">uint</a> mCurrentFrame;
23200389
233<a name="l00391"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp18">00391</a>             <a class="code" href="classOgre_1_1Timer.html">Timer</a>* mTimer;
23400392
235<a name="l00394"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp19">00394</a>             <a class="code" href="namespaceOgre.html#a424">ulong</a> mTotalFrameTime;
23600395
237<a name="l00397"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp20">00397</a>             <span class="keywordtype">bool</span> mEnabled;
23800398
239<a name="l00401"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp21">00401</a>             <span class="keywordtype">bool</span> mEnableStateChangePending;
24000402
241<a name="l00405"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp22">00405</a>             <span class="keywordtype">bool</span> mNewEnableState;
24200406
24300407     }; <span class="comment">// end class</span>
24400408
24500409 } <span class="comment">// end namespace</span>
24600410
24700411 <span class="preprocessor">#endif</span>
248</pre></div><hr>
249<p>
250Copyright &copy; 2000-2005 by The OGRE Team<br />
251<!--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/>
252This 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/>
253                <!--/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#">
254                <Work rdf:about="">
255                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
256        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
257                </Work>
258                <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> -->
259
260Last modified Sun Feb 12 12:59:50 2006
261</p>
262</body>
263</html>
Note: See TracBrowser for help on using the repository browser.