Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 2761

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::Profiler class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::Profiler  Class Reference</h1>The profiler allows you to measure the performance of your code. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::Profiler:<p><center><img src="classOgre_1_1Profiler__inherit__graph.png" border="0" usemap="#Ogre_1_1Profiler__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1Profiler__inherit__map">
<area href="classOgre_1_1Singleton.html" shape="rect" coords="7,36,172,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::Profiler:<p><center><img src="classOgre_1_1Profiler__coll__graph.png" border="0" usemap="#Ogre_1_1Profiler__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1Profiler__coll__map">
<area href="classOgre_1_1Singleton.html" shape="rect" coords="352,217,517,199" alt="">
<area href="classOgre_1_1GuiContainer.html" shape="rect" coords="67,36,192,17" alt="">
<area href="classOgre_1_1GuiElement.html" shape="rect" coords="72,127,187,108" alt="">
<area href="classOgre_1_1Overlay.html" shape="rect" coords="331,36,424,17" alt="">
<area href="classOgre_1_1Timer.html" shape="rect" coords="513,36,593,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1Profiler-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera0">Profiler</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera1">~Profiler</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera2">setTimer</a> (<a class="el" href="classOgre_1_1Timer.html">Timer</a> *t)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the timer for the profiler.</em> <a href="#Ogre_1_1Profilera2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Timer.html">Timer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera3">getTimer</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the timer for the profiler.</em> <a href="#Ogre_1_1Profilera3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera4">beginProfile</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Begins a profile.</em> <a href="#Ogre_1_1Profilera4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera5">endProfile</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Ends a profile.</em> <a href="#Ogre_1_1Profilera5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera6">setEnabled</a> (bool enabled)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets whether this profiler is enabled.</em> <a href="#Ogre_1_1Profilera6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera7">getEnabled</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets whether this profiler is enabled.</em> <a href="#Ogre_1_1Profilera7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera8">enableProfile</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Enables a previously disabled profile.</em> <a href="#Ogre_1_1Profilera8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera9">disableProfile</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Disables a profile.</em> <a href="#Ogre_1_1Profilera9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera10">watchForMax</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the specified profile reaches a new frame time maximum.</em> <a href="#Ogre_1_1Profilera10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera11">watchForMin</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the specified profile reaches a new frame time minimum.</em> <a href="#Ogre_1_1Profilera11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera12">watchForLimit</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;profileName, <a class="el" href="namespaceOgre.html#a349">Real</a> limit, bool greaterThan=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the specified profile goes over or under the given limit frame time.</em> <a href="#Ogre_1_1Profilera12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera13">logResults</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Outputs current profile statistics to the log.</em> <a href="#Ogre_1_1Profilera13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera14">reset</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Clears the profiler statistics.</em> <a href="#Ogre_1_1Profilera14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera15">setUpdateDisplayFrequency</a> (<a class="el" href="namespaceOgre.html#a352">uint</a> freq)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> so the display of results are updated ever n frames.</em> <a href="#Ogre_1_1Profilera15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera16">getUpdateDisplayFrequency</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the frequency that the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> display is updated.</em> <a href="#Ogre_1_1Profilera16"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>Profiler &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerd0">getSingleton</a> ()</td></tr>
<tr><td nowrap align=right valign=top>Profiler *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Singletond1">getSingletonPtr</a> (void)</td></tr>
<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="structOgre_1_1Profiler_1_1ProfileInstance.html">ProfileInstance</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert0">ProfileStack</a></td></tr>
<tr><td nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="structOgre_1_1Profiler_1_1ProfileFrame.html">ProfileFrame</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert1">ProfileFrameList</a></td></tr>
<tr><td nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="structOgre_1_1Profiler_1_1ProfileHistory.html">ProfileHistory</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert2">ProfileHistoryList</a></td></tr>
<tr><td nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="classOgre_1_1String.html">String</a>,<br>
 ProfileHistoryList::iterator &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert3">ProfileHistoryMap</a></td></tr>
<tr><td nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="classOgre_1_1String.html">String</a>,<br>
 bool &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert4">DisabledProfileMap</a></td></tr>
<tr><td nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert5">ProfileBarList</a></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb0">initialize</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initializes the profiler's gui elements.</em> <a href="#Ogre_1_1Profilerb0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb1">displayResults</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Prints the profiling results of each frame.</em> <a href="#Ogre_1_1Profilerb1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb2">processFrameStats</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Processes the profiler data after each frame.</em> <a href="#Ogre_1_1Profilerb2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb3">changeEnableState</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Handles a change of the profiler's enabled state.</em> <a href="#Ogre_1_1Profilerb3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb4">createContainer</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>An internal function to create the container which will hold our display elements.</em> <a href="#Ogre_1_1Profilerb4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb5">createTextArea</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;name, <a class="el" href="namespaceOgre.html#a349">Real</a> width, <a class="el" href="namespaceOgre.html#a349">Real</a> height, <a class="el" href="namespaceOgre.html#a349">Real</a> top, <a class="el" href="namespaceOgre.html#a349">Real</a> left, <a class="el" href="namespaceOgre.html#a352">uint</a> fontSize, const <a class="el" href="classOgre_1_1String.html">String</a> &amp;caption, bool show=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>An internal function to create a text area.</em> <a href="#Ogre_1_1Profilerb5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb6">createPanel</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;name, <a class="el" href="namespaceOgre.html#a349">Real</a> width, <a class="el" href="namespaceOgre.html#a349">Real</a> height, <a class="el" href="namespaceOgre.html#a349">Real</a> top, <a class="el" href="namespaceOgre.html#a349">Real</a> left, const <a class="el" href="classOgre_1_1String.html">String</a> &amp;materialName, bool show=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>An internal function to create a panel.</em> <a href="#Ogre_1_1Profilerb6"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert0">ProfileStack</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern0">mProfiles</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A stack for each individual profile per frame.</em> <a href="#Ogre_1_1Profilern0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert1">ProfileFrameList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern1">mProfileFrame</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Accumulates the results of each profile per frame (since a profile can be called more than once a frame).</em> <a href="#Ogre_1_1Profilern1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert2">ProfileHistoryList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern2">mProfileHistory</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Keeps track of the statistics of each profile.</em> <a href="#Ogre_1_1Profilern2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert3">ProfileHistoryMap</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern3">mProfileHistoryMap</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>We use this for quick look-ups of profiles in the history list.</em> <a href="#Ogre_1_1Profilern3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert4">DisabledProfileMap</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern4">mDisabledProfiles</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Holds the names of disabled profiles.</em> <a href="#Ogre_1_1Profilern4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert5">ProfileBarList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern5">mProfileBars</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Holds the display bars for each profile results.</em> <a href="#Ogre_1_1Profilern5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern6">mInitialized</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Whether the GUI elements have been initialized.</em> <a href="#Ogre_1_1Profilern6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern7">maxProfiles</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The max number of profiles we can display.</em> <a href="#Ogre_1_1Profilern7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Overlay.html">Overlay</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern8">mOverlay</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The overlay which contains our profiler results display.</em> <a href="#Ogre_1_1Profilern8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern9">mProfileGui</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The window that displays the profiler results.</em> <a href="#Ogre_1_1Profilern9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern10">mBarHeight</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The height of each bar.</em> <a href="#Ogre_1_1Profilern10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern11">mGuiHeight</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The height of the stats window.</em> <a href="#Ogre_1_1Profilern11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern12">mGuiWidth</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The width of the stats window.</em> <a href="#Ogre_1_1Profilern12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern13">mBarIndent</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The size of the indent for each profile display bar.</em> <a href="#Ogre_1_1Profilern13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern14">mGuiBorderWidth</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The width of the border between the profile window and each bar.</em> <a href="#Ogre_1_1Profilern14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern15">mBarLineWidth</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The width of the min, avg, and max lines in a profile display.</em> <a href="#Ogre_1_1Profilern15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern16">mUpdateDisplayFrequency</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The number of frames that must elapse before the current frame display is updated.</em> <a href="#Ogre_1_1Profilern16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern17">mCurrentFrame</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The number of elasped frame, used with mUpdateDisplayFrequency.</em> <a href="#Ogre_1_1Profilern17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Timer.html">Timer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern18">mTimer</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The timer used for profiling.</em> <a href="#Ogre_1_1Profilern18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a353">ulong</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern19">mTotalFrameTime</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The total time each frame takes.</em> <a href="#Ogre_1_1Profilern19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern20">mEnabled</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Whether this profiler is enabled.</em> <a href="#Ogre_1_1Profilern20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern21">mEnableStateChangePending</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Keeps track of whether this profiler has received a request to be enabled/disabled.</em> <a href="#Ogre_1_1Profilern21"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilern22">mNewEnableState</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Keeps track of the new enabled/disabled state that the user has requested which will be applied after the frame ends.</em> <a href="#Ogre_1_1Profilern22"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>Profiler *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Singletonq0">ms_Singleton</a> = 0</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The profiler allows you to measure the performance of your code.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 Do not create profiles directly from this unless you want a profile to last outside of its scope (ie the main game loop). For most cases, use the macro <a class="el" href="OgreProfiler_8h.html#a0">OgreProfile</a>(name) and braces to limit the scope. You must enable the <a class="el" href="classOgre_1_1Profile.html">Profile</a> before you can used it with setEnabled(true). If you want to disable profiling in <a class="el" href="namespaceOgre.html">Ogre</a>, simply set the macro OGRE_PROFILING to 0. </dl><dl compact><dt><b>
Author: </b><dd>
Amit Mathew (amitmathew (at) yahoo (dot) com) </dl><dl compact><dt><b>
<a class="el" href="todo.html#_todo000002">Todo: </a></b><dd>
resolve artificial cap on number of profiles displayed 
<p>
 fix display ordering of profiles not called every frame </dl> 
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00098">98</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.<hr><h2>Member Typedef Documentation</h2>
<a name="Ogre_1_1Profilert4" doxytag="Ogre::Profiler::DisabledProfileMap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="classOgre_1_1String.html">String</a>, bool&gt; Ogre::Profiler::DisabledProfileMap<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00298">298</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilert5" doxytag="Ogre::Profiler::ProfileBarList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>*&gt; Ogre::Profiler::ProfileBarList<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00300">300</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilert1" doxytag="Ogre::Profiler::ProfileFrameList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="structOgre_1_1Profiler_1_1ProfileFrame.html">ProfileFrame</a>&gt; Ogre::Profiler::ProfileFrameList<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00295">295</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilert2" doxytag="Ogre::Profiler::ProfileHistoryList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="structOgre_1_1Profiler_1_1ProfileHistory.html">ProfileHistory</a>&gt; Ogre::Profiler::ProfileHistoryList<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00296">296</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilert3" doxytag="Ogre::Profiler::ProfileHistoryMap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="classOgre_1_1String.html">String</a>, ProfileHistoryList::iterator&gt; Ogre::Profiler::ProfileHistoryMap<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00297">297</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilert0" doxytag="Ogre::Profiler::ProfileStack"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="structOgre_1_1Profiler_1_1ProfileInstance.html">ProfileInstance</a>&gt; Ogre::Profiler::ProfileStack<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00294">294</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1Profilera0" doxytag="Ogre::Profiler::Profiler"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::Profiler::Profiler </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00074">74</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00325">maxProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00356">mCurrentFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00369">mEnableStateChangePending</a>, <a class="el" href="OgreProfiler_8h-source.html#l00322">mInitialized</a>, <a class="el" href="OgreProfiler_8h-source.html#l00373">mNewEnableState</a>, <a class="el" href="OgreProfiler_8h-source.html#l00359">mTimer</a>, <a class="el" href="OgreProfiler_8h-source.html#l00362">mTotalFrameTime</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00353">mUpdateDisplayFrequency</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera1" doxytag="Ogre::Profiler::~Profiler"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::Profiler::~Profiler </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00091">91</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8cpp-source.html#l00694">logResults</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00316">mDisabledProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00319">mProfileBars</a>, <a class="el" href="OgreProfiler_8h-source.html#l00307">mProfileFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>, <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00303">mProfiles</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1Profilera4" doxytag="Ogre::Profiler::beginProfile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::beginProfile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Begins a profile.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 Use the macro <a class="el" href="OgreProfiler_8h.html#a1">OgreProfileBegin</a>(name) instead of calling this directly  so that profiling can be ignored in the release version of your app.  <dd>
 You only use the macro (or this) if you want a profile to last outside of its scope (ie the main game loop). If you use this function, make sure you  use a corresponding <a class="el" href="OgreProfiler_8h.html#a2">OgreProfileEnd</a>(name). Usually you would use the macro  <a class="el" href="OgreProfiler_8h.html#a0">OgreProfile</a>(name). This function will be ignored for a profile that has been  disabled or if the profiler is disabled. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>profileName</em>&nbsp;</td><td>
Must be unique and must not be an empty string </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00273">273</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00238">Ogre::Profiler::ProfileInstance::accum</a>, <a class="el" href="OgreProfiler_8h-source.html#l00255">Ogre::Profiler::ProfileFrame::calls</a>, <a class="el" href="OgreProfiler_8h-source.html#l00269">Ogre::Profiler::ProfileHistory::currentTime</a>, <a class="el" href="OgreProfiler_8h-source.html#l00234">Ogre::Profiler::ProfileInstance::currTime</a>, <a class="el" href="OgreProfiler_8h-source.html#l00252">Ogre::Profiler::ProfileFrame::frameTime</a>, <a class="el" href="OgreTimer_8cpp-source.html#l00052">Ogre::Timer::getMicroseconds</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00241">Ogre::Profiler::ProfileInstance::hierarchicalLvl</a>, <a class="el" href="OgreProfiler_8h-source.html#l00289">Ogre::Profiler::ProfileHistory::hierarchicalLvl</a>, <a class="el" href="OgreProfiler_8h-source.html#l00258">Ogre::Profiler::ProfileFrame::hierarchicalLvl</a>, <a class="el" href="OgreProfiler_8h-source.html#l00272">Ogre::Profiler::ProfileHistory::maxTime</a>, <a class="el" href="OgreProfiler_8h-source.html#l00316">mDisabledProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00275">Ogre::Profiler::ProfileHistory::minTime</a>, <a class="el" href="OgreProfiler_8h-source.html#l00307">mProfileFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>, <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>, <a class="el" href="OgreProfiler_8h-source.html#l00303">mProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00359">mTimer</a>, <a class="el" href="OgreProfiler_8h-source.html#l00266">Ogre::Profiler::ProfileHistory::name</a>, <a class="el" href="OgreProfiler_8h-source.html#l00249">Ogre::Profiler::ProfileFrame::name</a>, <a class="el" href="OgreProfiler_8h-source.html#l00228">Ogre::Profiler::ProfileInstance::name</a>, <a class="el" href="OgreProfiler_8h-source.html#l00278">Ogre::Profiler::ProfileHistory::numCallsThisFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00231">Ogre::Profiler::ProfileInstance::parent</a>, <a class="el" href="OgreProfiler_8h-source.html#l00286">Ogre::Profiler::ProfileHistory::totalCalls</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00282">Ogre::Profiler::ProfileHistory::totalTime</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00053">Ogre::Profile::Profile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb3" doxytag="Ogre::Profiler::changeEnableState"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::changeEnableState </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Handles a change of the profiler's enabled state.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00744">744</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreOverlay_8cpp-source.html#l00093">Ogre::Overlay::hide</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00369">mEnableStateChangePending</a>, <a class="el" href="OgreProfiler_8h-source.html#l00373">mNewEnableState</a>, <a class="el" href="OgreProfiler_8h-source.html#l00328">mOverlay</a>, and <a class="el" href="OgreOverlay_8cpp-source.html#l00088">Ogre::Overlay::show</a>().
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb4" doxytag="Ogre::Profiler::createContainer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a> * Ogre::Profiler::createContainer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An internal function to create the container which will hold our display elements.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00761">761</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="namespaceOgre.html#a627a136">Ogre::GMM_PIXELS</a>, <a class="el" href="OgreProfiler_8h-source.html#l00337">mGuiHeight</a>, <a class="el" href="OgreProfiler_8h-source.html#l00340">mGuiWidth</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00160">Ogre::GuiElement::setHeight</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00185">Ogre::GuiElement::setLeft</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00244">Ogre::GuiElement::setMaterialName</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00486">Ogre::GuiElement::setMetricsMode</a>(), <a class="el" href="OgreStringInterface_8cpp-source.html#l00033">Ogre::StringInterface::setParameter</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00211">Ogre::GuiElement::setTop</a>(), and <a class="el" href="OgreGuiElement_8cpp-source.html#l00135">Ogre::GuiElement::setWidth</a>().
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb6" doxytag="Ogre::Profiler::createPanel"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::Profiler::createPanel </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>width</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>height</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>top</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>left</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>materialName</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>show</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An internal function to create a panel.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00812">812</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="namespaceOgre.html#a627a136">Ogre::GMM_PIXELS</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00092">Ogre::GuiElement::hide</a>(), <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00160">Ogre::GuiElement::setHeight</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00185">Ogre::GuiElement::setLeft</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00244">Ogre::GuiElement::setMaterialName</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00486">Ogre::GuiElement::setMetricsMode</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00211">Ogre::GuiElement::setTop</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00135">Ogre::GuiElement::setWidth</a>(), and <a class="el" href="OgreGuiElement_8cpp-source.html#l00087">Ogre::GuiElement::show</a>().
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb5" doxytag="Ogre::Profiler::createTextArea"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::Profiler::createTextArea </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>width</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>height</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>top</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>left</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fontSize</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>caption</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>show</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An internal function to create a text area.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00785">785</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="namespaceOgre.html#a627a136">Ogre::GMM_PIXELS</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00092">Ogre::GuiElement::hide</a>(), <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00465">Ogre::GuiElement::setCaption</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00160">Ogre::GuiElement::setHeight</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00185">Ogre::GuiElement::setLeft</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00486">Ogre::GuiElement::setMetricsMode</a>(), <a class="el" href="OgreStringInterface_8cpp-source.html#l00033">Ogre::StringInterface::setParameter</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00211">Ogre::GuiElement::setTop</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00135">Ogre::GuiElement::setWidth</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00087">Ogre::GuiElement::show</a>(), and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera9" doxytag="Ogre::Profiler::disableProfile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::disableProfile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Disables a profile.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
Only disables the profile if this function is not called during the profile it is trying to disable. </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00224">224</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00316">mDisabledProfiles</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00303">mProfiles</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb1" doxytag="Ogre::Profiler::displayResults"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::displayResults </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Prints the profiling results of each frame.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00541">541</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="namespaceOgre.html#a627a136">Ogre::GMM_PIXELS</a>, <a class="el" href="OgreProfiler_8h-source.html#l00334">mBarHeight</a>, <a class="el" href="OgreProfiler_8h-source.html#l00343">mBarIndent</a>, <a class="el" href="OgreProfiler_8h-source.html#l00356">mCurrentFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00346">mGuiBorderWidth</a>, <a class="el" href="OgreProfiler_8h-source.html#l00337">mGuiHeight</a>, <a class="el" href="OgreProfiler_8h-source.html#l00340">mGuiWidth</a>, <a class="el" href="OgreProfiler_8h-source.html#l00319">mProfileBars</a>, <a class="el" href="OgreProfiler_8h-source.html#l00331">mProfileGui</a>, <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>, <a class="el" href="OgreProfiler_8h-source.html#l00353">mUpdateDisplayFrequency</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreGuiElement_8cpp-source.html#l00465">Ogre::GuiElement::setCaption</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00160">Ogre::GuiElement::setHeight</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00185">Ogre::GuiElement::setLeft</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00486">Ogre::GuiElement::setMetricsMode</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00211">Ogre::GuiElement::setTop</a>(), <a class="el" href="OgreGuiElement_8cpp-source.html#l00135">Ogre::GuiElement::setWidth</a>(), and <a class="el" href="OgreGuiElement_8cpp-source.html#l00087">Ogre::GuiElement::show</a>().
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera8" doxytag="Ogre::Profiler::enableProfile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::enableProfile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Enables a previously disabled profile.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
Only enables the profile if this function is not  called during the profile it is trying to enable. </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00248">248</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00316">mDisabledProfiles</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00303">mProfiles</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera5" doxytag="Ogre::Profiler::endProfile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::endProfile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Ends a profile.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 Use the macro <a class="el" href="OgreProfiler_8h.html#a2">OgreProfileEnd</a>(name) instead of calling this directly so that profiling can be ignored in the release version of your app. <dd>
 This function is usually not called directly unless you want a profile to last outside of its scope. In most cases, using the macro <a class="el" href="OgreProfiler_8h.html#a0">OgreProfile</a>(name)  which will call this function automatically when it goes out of scope. Make  sure the name of this profile matches its corresponding beginProfile name.  This function will be ignored for a profile that has been disabled or if the profiler is disabled. </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00385">385</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00238">Ogre::Profiler::ProfileInstance::accum</a>, <a class="el" href="OgreProfiler_8cpp-source.html#l00744">changeEnableState</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00234">Ogre::Profiler::ProfileInstance::currTime</a>, <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), <a class="el" href="OgreTimer_8cpp-source.html#l00052">Ogre::Timer::getMicroseconds</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00316">mDisabledProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00307">mProfileFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00303">mProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00359">mTimer</a>, <a class="el" href="OgreProfiler_8h-source.html#l00362">mTotalFrameTime</a>, <a class="el" href="OgreProfiler_8h-source.html#l00228">Ogre::Profiler::ProfileInstance::name</a>, <a class="el" href="OgreProfiler_8h-source.html#l00231">Ogre::Profiler::ProfileInstance::parent</a>, <a class="el" href="OgreProfiler_8cpp-source.html#l00487">processFrameStats</a>(), and <a class="el" href="OgrePrerequisites_8h-source.html#l00117">Ogre::ulong</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00061">Ogre::Profile::~Profile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera7" doxytag="Ogre::Profiler::getEnabled"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::getEnabled </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets whether this profiler is enabled.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00218">218</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerd0" doxytag="Ogre::Profiler::getSingleton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Profiler &amp; Ogre::Profiler::getSingleton </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletond0">Ogre::Singleton&lt; Profiler &gt;</a>.
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00834">834</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00053">Ogre::Profile::Profile</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00061">Ogre::Profile::~Profile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Singletond1" doxytag="Ogre::Profiler::getSingletonPtr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Profiler* <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; Profiler &gt;::getSingletonPtr </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00071">71</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera3" doxytag="Ogre::Profiler::getTimer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Timer.html">Timer</a> * Ogre::Profiler::getTimer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the timer for the profiler.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00191">191</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00359">mTimer</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera16" doxytag="Ogre::Profiler::getUpdateDisplayFrequency"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a352">uint</a> Ogre::Profiler::getUpdateDisplayFrequency </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the frequency that the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> display is updated.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00738">738</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00353">mUpdateDisplayFrequency</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb0" doxytag="Ogre::Profiler::initialize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::initialize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initializes the profiler's gui elements.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00108">108</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreOverlay_8cpp-source.html#l00098">Ogre::Overlay::add2D</a>(), <a class="el" href="OgreGuiContainer_8cpp-source.html#l00046">Ogre::GuiContainer::addChild</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00761">createContainer</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00812">createPanel</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00785">createTextArea</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00325">maxProfiles</a>, <a class="el" href="OgreProfiler_8h-source.html#l00334">mBarHeight</a>, <a class="el" href="OgreProfiler_8h-source.html#l00343">mBarIndent</a>, <a class="el" href="OgreProfiler_8h-source.html#l00349">mBarLineWidth</a>, <a class="el" href="OgreProfiler_8h-source.html#l00346">mGuiBorderWidth</a>, <a class="el" href="OgreProfiler_8h-source.html#l00337">mGuiHeight</a>, <a class="el" href="OgreProfiler_8h-source.html#l00340">mGuiWidth</a>, <a class="el" href="OgreProfiler_8h-source.html#l00328">mOverlay</a>, <a class="el" href="OgreProfiler_8h-source.html#l00319">mProfileBars</a>, <a class="el" href="OgreProfiler_8h-source.html#l00331">mProfileGui</a>, <a class="el" href="OgreOverlay_8cpp-source.html#l00064">Ogre::Overlay::setZOrder</a>(), <a class="el" href="OgreOverlay_8cpp-source.html#l00088">Ogre::Overlay::show</a>(), and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00198">setEnabled</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera13" doxytag="Ogre::Profiler::logResults"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::logResults </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Outputs current profile statistics to the log.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00694">694</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilerb2" doxytag="Ogre::Profiler::processFrameStats"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::processFrameStats </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Processes the profiler data after each frame.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00487">487</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00307">mProfileFrame</a>, <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>, <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>, <a class="el" href="OgreProfiler_8h-source.html#l00362">mTotalFrameTime</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00117">Ogre::ulong</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera14" doxytag="Ogre::Profiler::reset"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::reset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Clears the profiler statistics.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00718">718</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00310">mProfileHistory</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera6" doxytag="Ogre::Profiler::setEnabled"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::setEnabled </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>enabled</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets whether this profiler is enabled.
<p>
Only takes effect after the the frame has ended. <dl compact><dt><b>
Remarks: </b><dd>
When this is called the first time with the parameter true, it initializes the GUI for the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00198">198</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>(), <a class="el" href="OgreProfiler_8h-source.html#l00365">mEnabled</a>, <a class="el" href="OgreProfiler_8h-source.html#l00369">mEnableStateChangePending</a>, <a class="el" href="OgreProfiler_8h-source.html#l00322">mInitialized</a>, and <a class="el" href="OgreProfiler_8h-source.html#l00373">mNewEnableState</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera2" doxytag="Ogre::Profiler::setTimer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::setTimer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Timer.html">Timer</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>t</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the timer for the profiler.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00185">185</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00359">mTimer</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera15" doxytag="Ogre::Profiler::setUpdateDisplayFrequency"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::Profiler::setUpdateDisplayFrequency </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a352">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>freq</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> so the display of results are updated ever n frames.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00732">732</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00353">mUpdateDisplayFrequency</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00116">Ogre::uint</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera12" doxytag="Ogre::Profiler::watchForLimit"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForLimit </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>profileName</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>limit</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>greaterThan</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the specified profile goes over or under the given limit frame time.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
If this is called during a frame, it will be reading the results from the previous frame. Therefore, it is best to use this after the frame has ended. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>limit</em>&nbsp;</td><td>
A number between 0 and 1 representing the percentage of frame time </td></tr>
<tr><td valign=top><em>greaterThan</em>&nbsp;</td><td>
If true, this will return whether the limit is exceeded. Otherwise, it will return if the frame time has gone under this limit. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00674">674</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera10" doxytag="Ogre::Profiler::watchForMax"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForMax </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the specified profile reaches a new frame time maximum.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
If this is called during a frame, it will be reading the results from the previous frame. Therefore, it is best to use this after the frame has ended. </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00640">640</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilera11" doxytag="Ogre::Profiler::watchForMin"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForMin </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>profileName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the specified profile reaches a new frame time minimum.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
If this is called during a frame, it will be reading the results from the previous frame. Therefore, it is best to use this after the frame has ended. </dl>
<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00657">657</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.
<p>
References <a class="el" href="OgreProfiler_8h-source.html#l00313">mProfileHistoryMap</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1Profilern7" doxytag="Ogre::Profiler::maxProfiles"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a352">uint</a> Ogre::Profiler::maxProfiles<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The max number of profiles we can display.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00325">325</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern10" doxytag="Ogre::Profiler::mBarHeight"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mBarHeight<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The height of each bar.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00334">334</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern13" doxytag="Ogre::Profiler::mBarIndent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mBarIndent<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The size of the indent for each profile display bar.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00343">343</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern15" doxytag="Ogre::Profiler::mBarLineWidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mBarLineWidth<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The width of the min, avg, and max lines in a profile display.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00349">349</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern17" doxytag="Ogre::Profiler::mCurrentFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a352">uint</a> Ogre::Profiler::mCurrentFrame<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The number of elasped frame, used with mUpdateDisplayFrequency.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00356">356</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern4" doxytag="Ogre::Profiler::mDisabledProfiles"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert4">DisabledProfileMap</a> Ogre::Profiler::mDisabledProfiles<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Holds the names of disabled profiles.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00316">316</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00224">disableProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00248">enableProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern20" doxytag="Ogre::Profiler::mEnabled"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::mEnabled<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Whether this profiler is enabled.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00365">365</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00744">changeEnableState</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00218">getEnabled</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00198">setEnabled</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern21" doxytag="Ogre::Profiler::mEnableStateChangePending"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::mEnableStateChangePending<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Keeps track of whether this profiler has received a request to be enabled/disabled.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00369">369</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00744">changeEnableState</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00198">setEnabled</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern14" doxytag="Ogre::Profiler::mGuiBorderWidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mGuiBorderWidth<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The width of the border between the profile window and each bar.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00346">346</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern11" doxytag="Ogre::Profiler::mGuiHeight"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mGuiHeight<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The height of the stats window.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00337">337</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00761">createContainer</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern12" doxytag="Ogre::Profiler::mGuiWidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::Profiler::mGuiWidth<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The width of the stats window.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00340">340</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00761">createContainer</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern6" doxytag="Ogre::Profiler::mInitialized"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::mInitialized<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Whether the GUI elements have been initialized.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00322">322</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00198">setEnabled</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern22" doxytag="Ogre::Profiler::mNewEnableState"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Profiler::mNewEnableState<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Keeps track of the new enabled/disabled state that the user has requested which will be applied after the frame ends.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00373">373</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00744">changeEnableState</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00198">setEnabled</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern8" doxytag="Ogre::Profiler::mOverlay"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Overlay.html">Overlay</a>* Ogre::Profiler::mOverlay<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The overlay which contains our profiler results display.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00328">328</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00744">changeEnableState</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern5" doxytag="Ogre::Profiler::mProfileBars"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert5">ProfileBarList</a> Ogre::Profiler::mProfileBars<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Holds the display bars for each profile results.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00319">319</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern1" doxytag="Ogre::Profiler::mProfileFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert1">ProfileFrameList</a> Ogre::Profiler::mProfileFrame<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Accumulates the results of each profile per frame (since a profile can be called more than once a frame).
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00307">307</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00487">processFrameStats</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern9" doxytag="Ogre::Profiler::mProfileGui"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a>* Ogre::Profiler::mProfileGui<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The window that displays the profiler results.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00331">331</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00108">initialize</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern2" doxytag="Ogre::Profiler::mProfileHistory"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert2">ProfileHistoryList</a> Ogre::Profiler::mProfileHistory<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Keeps track of the statistics of each profile.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00310">310</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00694">logResults</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00487">processFrameStats</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00718">reset</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern3" doxytag="Ogre::Profiler::mProfileHistoryMap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert3">ProfileHistoryMap</a> Ogre::Profiler::mProfileHistoryMap<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
We use this for quick look-ups of profiles in the history list.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00313">313</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00487">processFrameStats</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00674">watchForLimit</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00640">watchForMax</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00657">watchForMin</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern0" doxytag="Ogre::Profiler::mProfiles"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilert0">ProfileStack</a> Ogre::Profiler::mProfiles<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A stack for each individual profile per frame.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00303">303</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00224">disableProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00248">enableProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00091">~Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Singletonq0" doxytag="Ogre::Profiler::ms_Singleton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Profiler * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; Profiler &gt;::ms_Singleton = 0<code> [static, protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8cpp-source.html#l00072">72</a> of file <a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern18" doxytag="Ogre::Profiler::mTimer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Timer.html">Timer</a>* Ogre::Profiler::mTimer<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The timer used for profiling.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00359">359</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00273">beginProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00191">getTimer</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00185">setTimer</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern19" doxytag="Ogre::Profiler::mTotalFrameTime"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a353">ulong</a> Ogre::Profiler::mTotalFrameTime<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The total time each frame takes.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00362">362</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00385">endProfile</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00487">processFrameStats</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Profilern16" doxytag="Ogre::Profiler::mUpdateDisplayFrequency"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a352">uint</a> Ogre::Profiler::mUpdateDisplayFrequency<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The number of frames that must elapse before the current frame display is updated.
<p>

<p>
Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00353">353</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.
<p>
Referenced by <a class="el" href="OgreProfiler_8cpp-source.html#l00541">displayResults</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00738">getUpdateDisplayFrequency</a>(), <a class="el" href="OgreProfiler_8cpp-source.html#l00074">Profiler</a>(), and <a class="el" href="OgreProfiler_8cpp-source.html#l00732">setUpdateDisplayFrequency</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a><li><a class="el" href="OgreProfiler_8cpp-source.html">OgreProfiler.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:19:17 2004
</p>
</body>
</html>