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 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>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> |
---|
11 | 00002 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
12 | 00003 <span class="comment">This source file is part of OGRE</span> |
---|
13 | 00004 <span class="comment"> (Object-oriented Graphics Rendering Engine)</span> |
---|
14 | 00005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span> |
---|
15 | 00006 <span class="comment"></span> |
---|
16 | 00007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span> |
---|
17 | 00008 <span class="comment">Also see acknowledgements in Readme.html</span> |
---|
18 | 00009 <span class="comment"></span> |
---|
19 | 00010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span> |
---|
20 | 00011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span> |
---|
21 | 00012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span> |
---|
22 | 00013 <span class="comment">version.</span> |
---|
23 | 00014 <span class="comment"></span> |
---|
24 | 00015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span> |
---|
25 | 00016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span> |
---|
26 | 00017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span> |
---|
27 | 00018 <span class="comment"></span> |
---|
28 | 00019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span> |
---|
29 | 00020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span> |
---|
30 | 00021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span> |
---|
31 | 00022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span> |
---|
32 | 00023 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
33 | 00024 <span class="comment">*/</span> |
---|
34 | 00025 <span class="comment">/*</span> |
---|
35 | 00026 <span class="comment"></span> |
---|
36 | 00027 <span class="comment"> Although the code is original, many of the ideas for the profiler were borrowed from </span> |
---|
37 | 00028 <span class="comment">"Real-Time In-Game Profiling" by Steve Rabin which can be found in Game Programming</span> |
---|
38 | 00029 <span class="comment">Gems 1.</span> |
---|
39 | 00030 <span class="comment"></span> |
---|
40 | 00031 <span class="comment"> This code can easily be adapted to your own non-Ogre project. The only code that is </span> |
---|
41 | 00032 <span class="comment">Ogre-dependent is in the visualization/logging routines and the use of the Timer class.</span> |
---|
42 | 00033 <span class="comment"></span> |
---|
43 | 00034 <span class="comment"> Enjoy!</span> |
---|
44 | 00035 <span class="comment"></span> |
---|
45 | 00036 <span class="comment">*/</span> |
---|
46 | 00037 |
---|
47 | 00038 <span class="preprocessor">#ifndef __Profiler_H__</span> |
---|
48 | 00039 <span class="preprocessor"></span><span class="preprocessor">#define __Profiler_H__</span> |
---|
49 | 00040 <span class="preprocessor"></span> |
---|
50 | 00041 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span> |
---|
51 | 00042 <span class="preprocessor">#include "<a class="code" href="OgreSingleton_8h.html">OgreSingleton.h</a>"</span> |
---|
52 | 00043 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span> |
---|
53 | 00044 <span class="preprocessor">#include "<a class="code" href="OgreOverlay_8h.html">OgreOverlay.h</a>"</span> |
---|
54 | 00045 |
---|
55 | 00046 <span class="preprocessor">#if OGRE_PROFILING == 1</span> |
---|
56 | 00047 <span class="preprocessor"></span><span class="preprocessor"># if OGRE_COMPILER != OGRE_COMPILER_BORL</span> |
---|
57 | 00048 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfile( a ) Ogre::Profile _OgreProfileInstance( (a) )</span> |
---|
58 | 00049 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfileBegin( a ) Ogre::Profiler::getSingleton().beginProfile( (a) )</span> |
---|
59 | 00050 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfileEnd( a ) Ogre::Profiler::getSingleton().endProfile( (a) )</span> |
---|
60 | 00051 <span class="preprocessor"></span><span class="preprocessor"># else</span> |
---|
61 | 00052 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfile( a ) Ogre::Profile _OgreProfileInstance( __FUNC__ )</span> |
---|
62 | 00053 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfileBegin( a ) Ogre::Profiler::getSingleton().beginProfile( __FUNC__ )</span> |
---|
63 | 00054 <span class="preprocessor"></span><span class="preprocessor"># define OgreProfileEnd( a ) Ogre::Profiler::getSingleton().endProfile( __FUNC__ )</span> |
---|
64 | 00055 <span class="preprocessor"></span><span class="preprocessor"># endif</span> |
---|
65 | 00056 <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> |
---|
69 | 00060 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
70 | 00061 <span class="preprocessor"></span> |
---|
71 | 00062 <span class="keyword">namespace </span>Ogre { |
---|
72 | 00063 |
---|
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 { |
---|
74 | 00075 |
---|
75 | 00076 <span class="keyword">public</span>: |
---|
76 | 00077 Profile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
77 | 00078 ~Profile(); |
---|
78 | 00079 |
---|
79 | 00080 <span class="keyword">protected</span>: |
---|
80 | 00081 |
---|
81 | <a name="l00083"></a><a class="code" href="classOgre_1_1Profile.html#Ogre_1_1Profilep0">00083</a> <a class="code" href="namespaceOgre.html#a471">String</a> mName; |
---|
82 | 00084 |
---|
83 | 00085 |
---|
84 | 00086 }; |
---|
85 | 00087 |
---|
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><Profiler> { |
---|
87 | 00100 |
---|
88 | 00101 <span class="keyword">public</span>: |
---|
89 | 00102 Profiler(); |
---|
90 | 00103 ~Profiler(); |
---|
91 | 00104 |
---|
92 | 00106 <span class="keywordtype">void</span> setTimer(<a class="code" href="classOgre_1_1Timer.html">Timer</a>* t); |
---|
93 | 00107 |
---|
94 | 00109 <a class="code" href="classOgre_1_1Timer.html">Timer</a>* getTimer(); |
---|
95 | 00110 |
---|
96 | 00123 <span class="keywordtype">void</span> beginProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
97 | 00124 |
---|
98 | 00137 <span class="keywordtype">void</span> endProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
99 | 00138 |
---|
100 | 00144 <span class="keywordtype">void</span> setEnabled(<span class="keywordtype">bool</span> enabled); |
---|
101 | 00145 |
---|
102 | 00147 <span class="keywordtype">bool</span> getEnabled() <span class="keyword">const</span>; |
---|
103 | 00148 |
---|
104 | 00153 <span class="keywordtype">void</span> enableProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
105 | 00154 |
---|
106 | 00159 <span class="keywordtype">void</span> disableProfile(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
107 | 00160 |
---|
108 | 00166 <span class="keywordtype">bool</span> watchForMax(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
109 | 00167 |
---|
110 | 00173 <span class="keywordtype">bool</span> watchForMin(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName); |
---|
111 | 00174 |
---|
112 | 00184 <span class="keywordtype">bool</span> watchForLimit(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& profileName, <a class="code" href="namespaceOgre.html#a465">Real</a> limit, <span class="keywordtype">bool</span> greaterThan = <span class="keyword">true</span>); |
---|
113 | 00185 |
---|
114 | 00187 <span class="keywordtype">void</span> logResults(); |
---|
115 | 00188 |
---|
116 | 00190 <span class="keywordtype">void</span> reset(); |
---|
117 | 00191 |
---|
118 | 00193 <span class="keywordtype">void</span> setUpdateDisplayFrequency(<a class="code" href="namespaceOgre.html#a468">uint</a> freq); |
---|
119 | 00194 |
---|
120 | 00196 <a class="code" href="namespaceOgre.html#a468">uint</a> getUpdateDisplayFrequency() <span class="keyword">const</span>; |
---|
121 | 00197 |
---|
122 | 00213 <span class="keyword">static</span> Profiler& getSingleton(<span class="keywordtype">void</span>); |
---|
123 | 00229 <span class="keyword">static</span> Profiler* getSingletonPtr(<span class="keywordtype">void</span>); |
---|
124 | 00230 |
---|
125 | 00231 <span class="keyword">protected</span>: |
---|
126 | 00232 |
---|
127 | 00234 <span class="keywordtype">void</span> initialize(); |
---|
128 | 00235 |
---|
129 | 00237 <span class="keywordtype">void</span> displayResults(); |
---|
130 | 00238 |
---|
131 | 00240 <span class="keywordtype">void</span> processFrameStats(); |
---|
132 | 00241 |
---|
133 | 00243 <span class="keywordtype">void</span> changeEnableState(); |
---|
134 | 00244 |
---|
135 | 00246 <a class="code" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a>* createContainer(); |
---|
136 | 00247 |
---|
137 | 00249 <a class="code" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* createTextArea(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& name, <a class="code" href="namespaceOgre.html#a465">Real</a> width, <a class="code" href="namespaceOgre.html#a465">Real</a> height, <a class="code" href="namespaceOgre.html#a465">Real</a> top, <a class="code" href="namespaceOgre.html#a465">Real</a> left, |
---|
138 | 00250 <a class="code" href="namespaceOgre.html#a468">uint</a> fontSize, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& caption, <span class="keywordtype">bool</span> show = <span class="keyword">true</span>); |
---|
139 | 00251 |
---|
140 | 00253 <a class="code" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* createPanel(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& name, <a class="code" href="namespaceOgre.html#a465">Real</a> width, <a class="code" href="namespaceOgre.html#a465">Real</a> height, <a class="code" href="namespaceOgre.html#a465">Real</a> top, <a class="code" href="namespaceOgre.html#a465">Real</a> left, |
---|
141 | 00254 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& materialName, <span class="keywordtype">bool</span> show = <span class="keyword">true</span>); |
---|
142 | 00255 |
---|
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> { |
---|
144 | 00258 |
---|
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#a471">String</a> name; |
---|
146 | 00261 |
---|
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#a471">String</a> parent; |
---|
148 | 00264 |
---|
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#a469">ulong</a> currTime; |
---|
150 | 00267 |
---|
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#a469">ulong</a> accum; |
---|
152 | 00271 |
---|
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#a468">uint</a> hierarchicalLvl; |
---|
154 | 00274 }; |
---|
155 | 00275 |
---|
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> { |
---|
157 | 00279 |
---|
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#a471">String</a> name; |
---|
159 | 00282 |
---|
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#a469">ulong</a> frameTime; |
---|
161 | 00285 |
---|
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#a468">uint</a> calls; |
---|
163 | 00288 |
---|
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#a468">uint</a> hierarchicalLvl; |
---|
165 | 00291 |
---|
166 | 00292 }; |
---|
167 | 00293 |
---|
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> { |
---|
169 | 00296 |
---|
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#a471">String</a> name; |
---|
171 | 00299 |
---|
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#a465">Real</a> currentTime; <span class="comment">// %</span> |
---|
173 | 00302 |
---|
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#a465">Real</a> maxTime; <span class="comment">// %</span> |
---|
175 | 00305 |
---|
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#a465">Real</a> minTime; <span class="comment">// %</span> |
---|
177 | 00308 |
---|
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#a468">uint</a> numCallsThisFrame; |
---|
179 | 00311 |
---|
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#a465">Real</a> totalTime; <span class="comment">// %</span> |
---|
181 | 00315 |
---|
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#a469">ulong</a> totalCalls; <span class="comment">// %</span> |
---|
183 | 00319 |
---|
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#a468">uint</a> hierarchicalLvl; |
---|
185 | 00322 |
---|
186 | 00323 }; |
---|
187 | 00324 |
---|
188 | 00325 |
---|
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<ProfileInstance> <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<ProfileFrame> <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<ProfileHistory> <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<String, ProfileHistoryList::iterator> <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<String, bool> <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a>; |
---|
194 | 00331 |
---|
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<OverlayElement*> <a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a>; |
---|
196 | 00333 |
---|
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; |
---|
198 | 00336 |
---|
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; |
---|
200 | 00340 |
---|
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; |
---|
202 | 00343 |
---|
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; |
---|
204 | 00346 |
---|
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; |
---|
206 | 00349 |
---|
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; |
---|
208 | 00352 |
---|
209 | <a name="l00354"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp6">00354</a> <span class="keywordtype">bool</span> mInitialized; |
---|
210 | 00355 |
---|
211 | <a name="l00357"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp7">00357</a> <a class="code" href="namespaceOgre.html#a468">uint</a> maxProfiles; |
---|
212 | 00358 |
---|
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; |
---|
214 | 00361 |
---|
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; |
---|
216 | 00364 |
---|
217 | <a name="l00366"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp10">00366</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mBarHeight; |
---|
218 | 00367 |
---|
219 | <a name="l00369"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp11">00369</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mGuiHeight; |
---|
220 | 00370 |
---|
221 | <a name="l00372"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp12">00372</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mGuiWidth; |
---|
222 | 00373 |
---|
223 | <a name="l00375"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp13">00375</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mBarIndent; |
---|
224 | 00376 |
---|
225 | <a name="l00378"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp14">00378</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mGuiBorderWidth; |
---|
226 | 00379 |
---|
227 | <a name="l00381"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp15">00381</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mBarLineWidth; |
---|
228 | 00382 |
---|
229 | <a name="l00385"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp16">00385</a> <a class="code" href="namespaceOgre.html#a468">uint</a> mUpdateDisplayFrequency; |
---|
230 | 00386 |
---|
231 | <a name="l00388"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp17">00388</a> <a class="code" href="namespaceOgre.html#a468">uint</a> mCurrentFrame; |
---|
232 | 00389 |
---|
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; |
---|
234 | 00392 |
---|
235 | <a name="l00394"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp19">00394</a> <a class="code" href="namespaceOgre.html#a469">ulong</a> mTotalFrameTime; |
---|
236 | 00395 |
---|
237 | <a name="l00397"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp20">00397</a> <span class="keywordtype">bool</span> mEnabled; |
---|
238 | 00398 |
---|
239 | <a name="l00401"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp21">00401</a> <span class="keywordtype">bool</span> mEnableStateChangePending; |
---|
240 | 00402 |
---|
241 | <a name="l00405"></a><a class="code" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp22">00405</a> <span class="keywordtype">bool</span> mNewEnableState; |
---|
242 | 00406 |
---|
243 | 00407 }; <span class="comment">// end class</span> |
---|
244 | 00408 |
---|
245 | 00409 } <span class="comment">// end namespace</span> |
---|
246 | 00410 |
---|
247 | 00411 <span class="preprocessor">#endif</span> |
---|
248 | </pre></div><hr> |
---|
249 | <p> |
---|
250 | Copyright © 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/> |
---|
252 | 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/> |
---|
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 | |
---|
260 | Last modified Sun Mar 12 14:37:47 2006 |
---|
261 | </p> |
---|
262 | </body> |
---|
263 | </html> |
---|