[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Ogre::Profiler class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body> |
---|
| 8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
| 9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>Ogre::Profiler Class Reference</h1>The profiler allows you to measure the performance of your code. |
---|
| 11 | <a href="#_details">More...</a> |
---|
| 12 | <p> |
---|
| 13 | <code>#include <<a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>></code> |
---|
| 14 | <p> |
---|
| 15 | <p>Inheritance diagram for Ogre::Profiler: |
---|
| 16 | <p><center><img src="classOgre_1_1Profiler.png" usemap="#Ogre::Profiler_map" border="0" alt=""></center> |
---|
| 17 | <map name="Ogre::Profiler_map"> |
---|
| 18 | <area href="classOgre_1_1Singleton.html" alt="Ogre::Singleton< Profiler >" shape="rect" coords="0,0,165,24"> |
---|
| 19 | </map> |
---|
| 20 | <a href="classOgre_1_1Profiler-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 21 | <tr><td></td></tr> |
---|
| 22 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera0">Profiler</a> ()</td></tr> |
---|
| 24 | |
---|
| 25 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera1">~Profiler</a> ()</td></tr> |
---|
| 26 | |
---|
| 27 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" 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> |
---|
| 28 | |
---|
| 29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the timer for the profiler. <a href="#Ogre_1_1Profilera2"></a><br><br></td></tr> |
---|
| 30 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Timer.html">Timer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera3">getTimer</a> ()</td></tr> |
---|
| 31 | |
---|
| 32 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the timer for the profiler. <a href="#Ogre_1_1Profilera3"></a><br><br></td></tr> |
---|
| 33 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera4">beginProfile</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 34 | |
---|
| 35 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Begins a profile. <a href="#Ogre_1_1Profilera4"></a><br><br></td></tr> |
---|
| 36 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera5">endProfile</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 37 | |
---|
| 38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Ends a profile. <a href="#Ogre_1_1Profilera5"></a><br><br></td></tr> |
---|
| 39 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera6">setEnabled</a> (bool enabled)</td></tr> |
---|
| 40 | |
---|
| 41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether this profiler is enabled. <a href="#Ogre_1_1Profilera6"></a><br><br></td></tr> |
---|
| 42 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera7">getEnabled</a> () const </td></tr> |
---|
| 43 | |
---|
| 44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets whether this profiler is enabled. <a href="#Ogre_1_1Profilera7"></a><br><br></td></tr> |
---|
| 45 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera8">enableProfile</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 46 | |
---|
| 47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enables a previously disabled profile. <a href="#Ogre_1_1Profilera8"></a><br><br></td></tr> |
---|
| 48 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera9">disableProfile</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Disables a profile. <a href="#Ogre_1_1Profilera9"></a><br><br></td></tr> |
---|
| 51 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera10">watchForMax</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 52 | |
---|
| 53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the specified profile reaches a new frame time maximum. <a href="#Ogre_1_1Profilera10"></a><br><br></td></tr> |
---|
| 54 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera11">watchForMin</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName)</td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the specified profile reaches a new frame time minimum. <a href="#Ogre_1_1Profilera11"></a><br><br></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera12">watchForLimit</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &profileName, <a class="el" href="namespaceOgre.html#a465">Real</a> limit, bool greaterThan=true)</td></tr> |
---|
| 58 | |
---|
| 59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the specified profile goes over or under the given limit frame time. <a href="#Ogre_1_1Profilera12"></a><br><br></td></tr> |
---|
| 60 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera13">logResults</a> ()</td></tr> |
---|
| 61 | |
---|
| 62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Outputs current profile statistics to the log. <a href="#Ogre_1_1Profilera13"></a><br><br></td></tr> |
---|
| 63 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera14">reset</a> ()</td></tr> |
---|
| 64 | |
---|
| 65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the profiler statistics. <a href="#Ogre_1_1Profilera14"></a><br><br></td></tr> |
---|
| 66 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera15">setUpdateDisplayFrequency</a> (<a class="el" href="namespaceOgre.html#a468">uint</a> freq)</td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> so the display of results are updated ever n frames. <a href="#Ogre_1_1Profilera15"></a><br><br></td></tr> |
---|
| 69 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a468">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilera16">getUpdateDisplayFrequency</a> () const </td></tr> |
---|
| 70 | |
---|
| 71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the frequency that the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> display is updated. <a href="#Ogre_1_1Profilera16"></a><br><br></td></tr> |
---|
| 72 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
| 73 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html">Profiler</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilere0">getSingleton</a> (void)</td></tr> |
---|
| 74 | |
---|
| 75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. <a href="#Ogre_1_1Profilere0"></a><br><br></td></tr> |
---|
| 76 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html">Profiler</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilere1">getSingletonPtr</a> (void)</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. <a href="#Ogre_1_1Profilere1"></a><br><br></td></tr> |
---|
| 79 | <tr><td colspan=2><br><h2>Protected Types</h2></td></tr> |
---|
| 80 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list< <a class="el" href="structOgre_1_1Profiler_1_1ProfileInstance.html">ProfileInstance</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">ProfileStack</a></td></tr> |
---|
| 81 | |
---|
| 82 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list< <a class="el" href="structOgre_1_1Profiler_1_1ProfileFrame.html">ProfileFrame</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">ProfileFrameList</a></td></tr> |
---|
| 83 | |
---|
| 84 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list< <a class="el" href="structOgre_1_1Profiler_1_1ProfileHistory.html">ProfileHistory</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">ProfileHistoryList</a></td></tr> |
---|
| 85 | |
---|
| 86 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< <a class="el" href="namespaceOgre.html#a471">String</a>,<br> |
---|
| 87 | ProfileHistoryList::iterator > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">ProfileHistoryMap</a></td></tr> |
---|
| 88 | |
---|
| 89 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< <a class="el" href="namespaceOgre.html#a471">String</a>,<br> |
---|
| 90 | bool > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a></td></tr> |
---|
| 91 | |
---|
| 92 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list< <a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a></td></tr> |
---|
| 93 | |
---|
| 94 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 95 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb0">initialize</a> ()</td></tr> |
---|
| 96 | |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes the profiler's gui elements. <a href="#Ogre_1_1Profilerb0"></a><br><br></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb1">displayResults</a> ()</td></tr> |
---|
| 99 | |
---|
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Prints the profiling results of each frame. <a href="#Ogre_1_1Profilerb1"></a><br><br></td></tr> |
---|
| 101 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb2">processFrameStats</a> ()</td></tr> |
---|
| 102 | |
---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Processes the profiler data after each frame. <a href="#Ogre_1_1Profilerb2"></a><br><br></td></tr> |
---|
| 104 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb3">changeEnableState</a> ()</td></tr> |
---|
| 105 | |
---|
| 106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Handles a change of the profiler's enabled state. <a href="#Ogre_1_1Profilerb3"></a><br><br></td></tr> |
---|
| 107 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb4">createContainer</a> ()</td></tr> |
---|
| 108 | |
---|
| 109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An internal function to create the container which will hold our display elements. <a href="#Ogre_1_1Profilerb4"></a><br><br></td></tr> |
---|
| 110 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb5">createTextArea</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, <a class="el" href="namespaceOgre.html#a465">Real</a> width, <a class="el" href="namespaceOgre.html#a465">Real</a> height, <a class="el" href="namespaceOgre.html#a465">Real</a> top, <a class="el" href="namespaceOgre.html#a465">Real</a> left, <a class="el" href="namespaceOgre.html#a468">uint</a> fontSize, const <a class="el" href="namespaceOgre.html#a471">String</a> &caption, bool show=true)</td></tr> |
---|
| 111 | |
---|
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An internal function to create a text area. <a href="#Ogre_1_1Profilerb5"></a><br><br></td></tr> |
---|
| 113 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerb6">createPanel</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, <a class="el" href="namespaceOgre.html#a465">Real</a> width, <a class="el" href="namespaceOgre.html#a465">Real</a> height, <a class="el" href="namespaceOgre.html#a465">Real</a> top, <a class="el" href="namespaceOgre.html#a465">Real</a> left, const <a class="el" href="namespaceOgre.html#a471">String</a> &materialName, bool show=true)</td></tr> |
---|
| 114 | |
---|
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An internal function to create a panel. <a href="#Ogre_1_1Profilerb6"></a><br><br></td></tr> |
---|
| 116 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
| 117 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">ProfileStack</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp0">mProfiles</a></td></tr> |
---|
| 118 | |
---|
| 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A stack for each individual profile per frame. <a href="#Ogre_1_1Profilerp0"></a><br><br></td></tr> |
---|
| 120 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">ProfileFrameList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp1">mProfileFrame</a></td></tr> |
---|
| 121 | |
---|
| 122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accumulates the results of each profile per frame (since a profile can be called more than once a frame). <a href="#Ogre_1_1Profilerp1"></a><br><br></td></tr> |
---|
| 123 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">ProfileHistoryList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp2">mProfileHistory</a></td></tr> |
---|
| 124 | |
---|
| 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Keeps track of the statistics of each profile. <a href="#Ogre_1_1Profilerp2"></a><br><br></td></tr> |
---|
| 126 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">ProfileHistoryMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp3">mProfileHistoryMap</a></td></tr> |
---|
| 127 | |
---|
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">We use this for quick look-ups of profiles in the history list. <a href="#Ogre_1_1Profilerp3"></a><br><br></td></tr> |
---|
| 129 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp4">mDisabledProfiles</a></td></tr> |
---|
| 130 | |
---|
| 131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the names of disabled profiles. <a href="#Ogre_1_1Profilerp4"></a><br><br></td></tr> |
---|
| 132 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp5">mProfileBars</a></td></tr> |
---|
| 133 | |
---|
| 134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the display bars for each profile results. <a href="#Ogre_1_1Profilerp5"></a><br><br></td></tr> |
---|
| 135 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp6">mInitialized</a></td></tr> |
---|
| 136 | |
---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the GUI elements have been initialized. <a href="#Ogre_1_1Profilerp6"></a><br><br></td></tr> |
---|
| 138 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a468">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp7">maxProfiles</a></td></tr> |
---|
| 139 | |
---|
| 140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The max number of profiles we can display. <a href="#Ogre_1_1Profilerp7"></a><br><br></td></tr> |
---|
| 141 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Overlay.html">Overlay</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp8">mOverlay</a></td></tr> |
---|
| 142 | |
---|
| 143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The overlay which contains our profiler results display. <a href="#Ogre_1_1Profilerp8"></a><br><br></td></tr> |
---|
| 144 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp9">mProfileGui</a></td></tr> |
---|
| 145 | |
---|
| 146 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The window that displays the profiler results. <a href="#Ogre_1_1Profilerp9"></a><br><br></td></tr> |
---|
| 147 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp10">mBarHeight</a></td></tr> |
---|
| 148 | |
---|
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The height of each bar. <a href="#Ogre_1_1Profilerp10"></a><br><br></td></tr> |
---|
| 150 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp11">mGuiHeight</a></td></tr> |
---|
| 151 | |
---|
| 152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The height of the stats window. <a href="#Ogre_1_1Profilerp11"></a><br><br></td></tr> |
---|
| 153 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp12">mGuiWidth</a></td></tr> |
---|
| 154 | |
---|
| 155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The width of the stats window. <a href="#Ogre_1_1Profilerp12"></a><br><br></td></tr> |
---|
| 156 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp13">mBarIndent</a></td></tr> |
---|
| 157 | |
---|
| 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The size of the indent for each profile display bar. <a href="#Ogre_1_1Profilerp13"></a><br><br></td></tr> |
---|
| 159 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp14">mGuiBorderWidth</a></td></tr> |
---|
| 160 | |
---|
| 161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The width of the border between the profile window and each bar. <a href="#Ogre_1_1Profilerp14"></a><br><br></td></tr> |
---|
| 162 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp15">mBarLineWidth</a></td></tr> |
---|
| 163 | |
---|
| 164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The width of the min, avg, and max lines in a profile display. <a href="#Ogre_1_1Profilerp15"></a><br><br></td></tr> |
---|
| 165 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a468">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp16">mUpdateDisplayFrequency</a></td></tr> |
---|
| 166 | |
---|
| 167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of frames that must elapse before the current frame display is updated. <a href="#Ogre_1_1Profilerp16"></a><br><br></td></tr> |
---|
| 168 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a468">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp17">mCurrentFrame</a></td></tr> |
---|
| 169 | |
---|
| 170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of elasped frame, used with mUpdateDisplayFrequency. <a href="#Ogre_1_1Profilerp17"></a><br><br></td></tr> |
---|
| 171 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Timer.html">Timer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp18">mTimer</a></td></tr> |
---|
| 172 | |
---|
| 173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The timer used for profiling. <a href="#Ogre_1_1Profilerp18"></a><br><br></td></tr> |
---|
| 174 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a469">ulong</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp19">mTotalFrameTime</a></td></tr> |
---|
| 175 | |
---|
| 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The total time each frame takes. <a href="#Ogre_1_1Profilerp19"></a><br><br></td></tr> |
---|
| 177 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp20">mEnabled</a></td></tr> |
---|
| 178 | |
---|
| 179 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether this profiler is enabled. <a href="#Ogre_1_1Profilerp20"></a><br><br></td></tr> |
---|
| 180 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp21">mEnableStateChangePending</a></td></tr> |
---|
| 181 | |
---|
| 182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Keeps track of whether this profiler has received a request to be enabled/disabled. <a href="#Ogre_1_1Profilerp21"></a><br><br></td></tr> |
---|
| 183 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp22">mNewEnableState</a></td></tr> |
---|
| 184 | |
---|
| 185 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Keeps track of the new enabled/disabled state that the user has requested which will be applied after the frame ends. <a href="#Ogre_1_1Profilerp22"></a><br><br></td></tr> |
---|
| 186 | <tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> |
---|
| 187 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Profiler.html">Profiler</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr> |
---|
| 188 | |
---|
| 189 | </table> |
---|
| 190 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 191 | The profiler allows you to measure the performance of your code. |
---|
| 192 | <p> |
---|
| 193 | <dl compact><dt><b>Remarks:</b></dt><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(name)</a> 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. </dd></dl> |
---|
| 194 | <dl compact><dt><b>Author:</b></dt><dd>Amit Mathew (amitmathew (at) yahoo (dot) com) </dd></dl> |
---|
| 195 | <dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>resolve artificial cap on number of profiles displayed <p> |
---|
| 196 | fix display ordering of profiles not called every frame </dd></dl> |
---|
| 197 | |
---|
| 198 | <p> |
---|
| 199 | |
---|
| 200 | <p> |
---|
| 201 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00099">99</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
| 202 | <a class="anchor" name="Ogre_1_1Profilerx4" doxytag="Ogre::Profiler::DisabledProfileMap" ></a><p> |
---|
| 203 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 204 | <tr> |
---|
| 205 | <td class="mdRow"> |
---|
| 206 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 207 | <tr> |
---|
| 208 | <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="namespaceOgre.html#a471">String</a>, bool> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">Ogre::Profiler::DisabledProfileMap</a><code> [protected]</code> |
---|
| 209 | </table> |
---|
| 210 | </td> |
---|
| 211 | </tr> |
---|
| 212 | </table> |
---|
| 213 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 214 | <tr> |
---|
| 215 | <td> |
---|
| 216 | |
---|
| 217 | </td> |
---|
| 218 | <td> |
---|
| 219 | |
---|
| 220 | <p> |
---|
| 221 | |
---|
| 222 | <p> |
---|
| 223 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00330">330</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 224 | </tr> |
---|
| 225 | </table> |
---|
| 226 | <a class="anchor" name="Ogre_1_1Profilerx5" doxytag="Ogre::Profiler::ProfileBarList" ></a><p> |
---|
| 227 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 228 | <tr> |
---|
| 229 | <td class="mdRow"> |
---|
| 230 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 231 | <tr> |
---|
| 232 | <td class="md" nowrap valign="top"> typedef std::list<<a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a>*> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">Ogre::Profiler::ProfileBarList</a><code> [protected]</code> |
---|
| 233 | </table> |
---|
| 234 | </td> |
---|
| 235 | </tr> |
---|
| 236 | </table> |
---|
| 237 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 238 | <tr> |
---|
| 239 | <td> |
---|
| 240 | |
---|
| 241 | </td> |
---|
| 242 | <td> |
---|
| 243 | |
---|
| 244 | <p> |
---|
| 245 | |
---|
| 246 | <p> |
---|
| 247 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00332">332</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 248 | </tr> |
---|
| 249 | </table> |
---|
| 250 | <a class="anchor" name="Ogre_1_1Profilerx1" doxytag="Ogre::Profiler::ProfileFrameList" ></a><p> |
---|
| 251 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 252 | <tr> |
---|
| 253 | <td class="mdRow"> |
---|
| 254 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 255 | <tr> |
---|
| 256 | <td class="md" nowrap valign="top"> typedef std::list<<a class="el" href="structOgre_1_1Profiler_1_1ProfileFrame.html">ProfileFrame</a>> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">Ogre::Profiler::ProfileFrameList</a><code> [protected]</code> |
---|
| 257 | </table> |
---|
| 258 | </td> |
---|
| 259 | </tr> |
---|
| 260 | </table> |
---|
| 261 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 262 | <tr> |
---|
| 263 | <td> |
---|
| 264 | |
---|
| 265 | </td> |
---|
| 266 | <td> |
---|
| 267 | |
---|
| 268 | <p> |
---|
| 269 | |
---|
| 270 | <p> |
---|
| 271 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00327">327</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 272 | </tr> |
---|
| 273 | </table> |
---|
| 274 | <a class="anchor" name="Ogre_1_1Profilerx2" doxytag="Ogre::Profiler::ProfileHistoryList" ></a><p> |
---|
| 275 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 276 | <tr> |
---|
| 277 | <td class="mdRow"> |
---|
| 278 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 279 | <tr> |
---|
| 280 | <td class="md" nowrap valign="top"> typedef std::list<<a class="el" href="structOgre_1_1Profiler_1_1ProfileHistory.html">ProfileHistory</a>> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">Ogre::Profiler::ProfileHistoryList</a><code> [protected]</code> |
---|
| 281 | </table> |
---|
| 282 | </td> |
---|
| 283 | </tr> |
---|
| 284 | </table> |
---|
| 285 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 286 | <tr> |
---|
| 287 | <td> |
---|
| 288 | |
---|
| 289 | </td> |
---|
| 290 | <td> |
---|
| 291 | |
---|
| 292 | <p> |
---|
| 293 | |
---|
| 294 | <p> |
---|
| 295 | 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>. </td> |
---|
| 296 | </tr> |
---|
| 297 | </table> |
---|
| 298 | <a class="anchor" name="Ogre_1_1Profilerx3" doxytag="Ogre::Profiler::ProfileHistoryMap" ></a><p> |
---|
| 299 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 300 | <tr> |
---|
| 301 | <td class="mdRow"> |
---|
| 302 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 303 | <tr> |
---|
| 304 | <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="namespaceOgre.html#a471">String</a>, ProfileHistoryList::iterator> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">Ogre::Profiler::ProfileHistoryMap</a><code> [protected]</code> |
---|
| 305 | </table> |
---|
| 306 | </td> |
---|
| 307 | </tr> |
---|
| 308 | </table> |
---|
| 309 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 310 | <tr> |
---|
| 311 | <td> |
---|
| 312 | |
---|
| 313 | </td> |
---|
| 314 | <td> |
---|
| 315 | |
---|
| 316 | <p> |
---|
| 317 | |
---|
| 318 | <p> |
---|
| 319 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00329">329</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 320 | </tr> |
---|
| 321 | </table> |
---|
| 322 | <a class="anchor" name="Ogre_1_1Profilerx0" doxytag="Ogre::Profiler::ProfileStack" ></a><p> |
---|
| 323 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 324 | <tr> |
---|
| 325 | <td class="mdRow"> |
---|
| 326 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 327 | <tr> |
---|
| 328 | <td class="md" nowrap valign="top"> typedef std::list<<a class="el" href="structOgre_1_1Profiler_1_1ProfileInstance.html">ProfileInstance</a>> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">Ogre::Profiler::ProfileStack</a><code> [protected]</code> |
---|
| 329 | </table> |
---|
| 330 | </td> |
---|
| 331 | </tr> |
---|
| 332 | </table> |
---|
| 333 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 334 | <tr> |
---|
| 335 | <td> |
---|
| 336 | |
---|
| 337 | </td> |
---|
| 338 | <td> |
---|
| 339 | |
---|
| 340 | <p> |
---|
| 341 | |
---|
| 342 | <p> |
---|
| 343 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00326">326</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 344 | </tr> |
---|
| 345 | </table> |
---|
| 346 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 347 | <a class="anchor" name="Ogre_1_1Profilera0" doxytag="Ogre::Profiler::Profiler" ></a><p> |
---|
| 348 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 349 | <tr> |
---|
| 350 | <td class="mdRow"> |
---|
| 351 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 352 | <tr> |
---|
| 353 | <td class="md" nowrap valign="top"> Ogre::Profiler::Profiler </td> |
---|
| 354 | <td class="md" valign="top">( </td> |
---|
| 355 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 356 | <td class="md" valign="top"> ) </td> |
---|
| 357 | <td class="md" nowrap></td> |
---|
| 358 | </tr> |
---|
| 359 | |
---|
| 360 | </table> |
---|
| 361 | </td> |
---|
| 362 | </tr> |
---|
| 363 | </table> |
---|
| 364 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 365 | <tr> |
---|
| 366 | <td> |
---|
| 367 | |
---|
| 368 | </td> |
---|
| 369 | <td> |
---|
| 370 | |
---|
| 371 | <p> |
---|
| 372 | </td> |
---|
| 373 | </tr> |
---|
| 374 | </table> |
---|
| 375 | <a class="anchor" name="Ogre_1_1Profilera1" doxytag="Ogre::Profiler::~Profiler" ></a><p> |
---|
| 376 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 377 | <tr> |
---|
| 378 | <td class="mdRow"> |
---|
| 379 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 380 | <tr> |
---|
| 381 | <td class="md" nowrap valign="top"> Ogre::Profiler::~<a class="el" href="classOgre_1_1Profiler.html">Profiler</a> </td> |
---|
| 382 | <td class="md" valign="top">( </td> |
---|
| 383 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 384 | <td class="md" valign="top"> ) </td> |
---|
| 385 | <td class="md" nowrap></td> |
---|
| 386 | </tr> |
---|
| 387 | |
---|
| 388 | </table> |
---|
| 389 | </td> |
---|
| 390 | </tr> |
---|
| 391 | </table> |
---|
| 392 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 393 | <tr> |
---|
| 394 | <td> |
---|
| 395 | |
---|
| 396 | </td> |
---|
| 397 | <td> |
---|
| 398 | |
---|
| 399 | <p> |
---|
| 400 | </td> |
---|
| 401 | </tr> |
---|
| 402 | </table> |
---|
| 403 | <hr><h2>Member Function Documentation</h2> |
---|
| 404 | <a class="anchor" name="Ogre_1_1Profilera4" doxytag="Ogre::Profiler::beginProfile" ></a><p> |
---|
| 405 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 406 | <tr> |
---|
| 407 | <td class="mdRow"> |
---|
| 408 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 409 | <tr> |
---|
| 410 | <td class="md" nowrap valign="top"> void Ogre::Profiler::beginProfile </td> |
---|
| 411 | <td class="md" valign="top">( </td> |
---|
| 412 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 413 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 414 | <td class="md" valign="top"> ) </td> |
---|
| 415 | <td class="md" nowrap></td> |
---|
| 416 | </tr> |
---|
| 417 | |
---|
| 418 | </table> |
---|
| 419 | </td> |
---|
| 420 | </tr> |
---|
| 421 | </table> |
---|
| 422 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 423 | <tr> |
---|
| 424 | <td> |
---|
| 425 | |
---|
| 426 | </td> |
---|
| 427 | <td> |
---|
| 428 | |
---|
| 429 | <p> |
---|
| 430 | Begins a profile. |
---|
| 431 | <p> |
---|
| 432 | <dl compact><dt><b>Remarks:</b></dt><dd>Use the macro <a class="el" href="OgreProfiler_8h.html#a1">OgreProfileBegin(name)</a> instead of calling this directly so that profiling can be ignored in the release version of your app. <p> |
---|
| 433 | 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(name)</a>. Usually you would use the macro <a class="el" href="OgreProfiler_8h.html#a0">OgreProfile(name)</a>. This function will be ignored for a profile that has been disabled or if the profiler is disabled. </dd></dl> |
---|
| 434 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 435 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 436 | <tr><td valign=top><em>profileName</em> </td><td>Must be unique and must not be an empty string </td></tr> |
---|
| 437 | </table> |
---|
| 438 | </dl> |
---|
| 439 | </td> |
---|
| 440 | </tr> |
---|
| 441 | </table> |
---|
| 442 | <a class="anchor" name="Ogre_1_1Profilerb3" doxytag="Ogre::Profiler::changeEnableState" ></a><p> |
---|
| 443 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 444 | <tr> |
---|
| 445 | <td class="mdRow"> |
---|
| 446 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 447 | <tr> |
---|
| 448 | <td class="md" nowrap valign="top"> void Ogre::Profiler::changeEnableState </td> |
---|
| 449 | <td class="md" valign="top">( </td> |
---|
| 450 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 451 | <td class="md" valign="top"> ) </td> |
---|
| 452 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 453 | </tr> |
---|
| 454 | |
---|
| 455 | </table> |
---|
| 456 | </td> |
---|
| 457 | </tr> |
---|
| 458 | </table> |
---|
| 459 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 460 | <tr> |
---|
| 461 | <td> |
---|
| 462 | |
---|
| 463 | </td> |
---|
| 464 | <td> |
---|
| 465 | |
---|
| 466 | <p> |
---|
| 467 | Handles a change of the profiler's enabled state. |
---|
| 468 | <p> |
---|
| 469 | </td> |
---|
| 470 | </tr> |
---|
| 471 | </table> |
---|
| 472 | <a class="anchor" name="Ogre_1_1Profilerb4" doxytag="Ogre::Profiler::createContainer" ></a><p> |
---|
| 473 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 474 | <tr> |
---|
| 475 | <td class="mdRow"> |
---|
| 476 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 477 | <tr> |
---|
| 478 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a>* Ogre::Profiler::createContainer </td> |
---|
| 479 | <td class="md" valign="top">( </td> |
---|
| 480 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 481 | <td class="md" valign="top"> ) </td> |
---|
| 482 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 483 | </tr> |
---|
| 484 | |
---|
| 485 | </table> |
---|
| 486 | </td> |
---|
| 487 | </tr> |
---|
| 488 | </table> |
---|
| 489 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 490 | <tr> |
---|
| 491 | <td> |
---|
| 492 | |
---|
| 493 | </td> |
---|
| 494 | <td> |
---|
| 495 | |
---|
| 496 | <p> |
---|
| 497 | An internal function to create the container which will hold our display elements. |
---|
| 498 | <p> |
---|
| 499 | </td> |
---|
| 500 | </tr> |
---|
| 501 | </table> |
---|
| 502 | <a class="anchor" name="Ogre_1_1Profilerb6" doxytag="Ogre::Profiler::createPanel" ></a><p> |
---|
| 503 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 504 | <tr> |
---|
| 505 | <td class="mdRow"> |
---|
| 506 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 507 | <tr> |
---|
| 508 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* Ogre::Profiler::createPanel </td> |
---|
| 509 | <td class="md" valign="top">( </td> |
---|
| 510 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 511 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 512 | </tr> |
---|
| 513 | <tr> |
---|
| 514 | <td class="md" nowrap align="right"></td> |
---|
| 515 | <td></td> |
---|
| 516 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 517 | <td class="mdname" nowrap> <em>width</em>, </td> |
---|
| 518 | </tr> |
---|
| 519 | <tr> |
---|
| 520 | <td class="md" nowrap align="right"></td> |
---|
| 521 | <td></td> |
---|
| 522 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 523 | <td class="mdname" nowrap> <em>height</em>, </td> |
---|
| 524 | </tr> |
---|
| 525 | <tr> |
---|
| 526 | <td class="md" nowrap align="right"></td> |
---|
| 527 | <td></td> |
---|
| 528 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 529 | <td class="mdname" nowrap> <em>top</em>, </td> |
---|
| 530 | </tr> |
---|
| 531 | <tr> |
---|
| 532 | <td class="md" nowrap align="right"></td> |
---|
| 533 | <td></td> |
---|
| 534 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 535 | <td class="mdname" nowrap> <em>left</em>, </td> |
---|
| 536 | </tr> |
---|
| 537 | <tr> |
---|
| 538 | <td class="md" nowrap align="right"></td> |
---|
| 539 | <td></td> |
---|
| 540 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 541 | <td class="mdname" nowrap> <em>materialName</em>, </td> |
---|
| 542 | </tr> |
---|
| 543 | <tr> |
---|
| 544 | <td class="md" nowrap align="right"></td> |
---|
| 545 | <td></td> |
---|
| 546 | <td class="md" nowrap>bool </td> |
---|
| 547 | <td class="mdname" nowrap> <em>show</em> = true</td> |
---|
| 548 | </tr> |
---|
| 549 | <tr> |
---|
| 550 | <td></td> |
---|
| 551 | <td class="md">) </td> |
---|
| 552 | <td class="md" colspan="2"><code> [protected]</code></td> |
---|
| 553 | </tr> |
---|
| 554 | |
---|
| 555 | </table> |
---|
| 556 | </td> |
---|
| 557 | </tr> |
---|
| 558 | </table> |
---|
| 559 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 560 | <tr> |
---|
| 561 | <td> |
---|
| 562 | |
---|
| 563 | </td> |
---|
| 564 | <td> |
---|
| 565 | |
---|
| 566 | <p> |
---|
| 567 | An internal function to create a panel. |
---|
| 568 | <p> |
---|
| 569 | </td> |
---|
| 570 | </tr> |
---|
| 571 | </table> |
---|
| 572 | <a class="anchor" name="Ogre_1_1Profilerb5" doxytag="Ogre::Profiler::createTextArea" ></a><p> |
---|
| 573 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 574 | <tr> |
---|
| 575 | <td class="mdRow"> |
---|
| 576 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 577 | <tr> |
---|
| 578 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1OverlayElement.html">OverlayElement</a>* Ogre::Profiler::createTextArea </td> |
---|
| 579 | <td class="md" valign="top">( </td> |
---|
| 580 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 581 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 582 | </tr> |
---|
| 583 | <tr> |
---|
| 584 | <td class="md" nowrap align="right"></td> |
---|
| 585 | <td></td> |
---|
| 586 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 587 | <td class="mdname" nowrap> <em>width</em>, </td> |
---|
| 588 | </tr> |
---|
| 589 | <tr> |
---|
| 590 | <td class="md" nowrap align="right"></td> |
---|
| 591 | <td></td> |
---|
| 592 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 593 | <td class="mdname" nowrap> <em>height</em>, </td> |
---|
| 594 | </tr> |
---|
| 595 | <tr> |
---|
| 596 | <td class="md" nowrap align="right"></td> |
---|
| 597 | <td></td> |
---|
| 598 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 599 | <td class="mdname" nowrap> <em>top</em>, </td> |
---|
| 600 | </tr> |
---|
| 601 | <tr> |
---|
| 602 | <td class="md" nowrap align="right"></td> |
---|
| 603 | <td></td> |
---|
| 604 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 605 | <td class="mdname" nowrap> <em>left</em>, </td> |
---|
| 606 | </tr> |
---|
| 607 | <tr> |
---|
| 608 | <td class="md" nowrap align="right"></td> |
---|
| 609 | <td></td> |
---|
| 610 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 611 | <td class="mdname" nowrap> <em>fontSize</em>, </td> |
---|
| 612 | </tr> |
---|
| 613 | <tr> |
---|
| 614 | <td class="md" nowrap align="right"></td> |
---|
| 615 | <td></td> |
---|
| 616 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 617 | <td class="mdname" nowrap> <em>caption</em>, </td> |
---|
| 618 | </tr> |
---|
| 619 | <tr> |
---|
| 620 | <td class="md" nowrap align="right"></td> |
---|
| 621 | <td></td> |
---|
| 622 | <td class="md" nowrap>bool </td> |
---|
| 623 | <td class="mdname" nowrap> <em>show</em> = true</td> |
---|
| 624 | </tr> |
---|
| 625 | <tr> |
---|
| 626 | <td></td> |
---|
| 627 | <td class="md">) </td> |
---|
| 628 | <td class="md" colspan="2"><code> [protected]</code></td> |
---|
| 629 | </tr> |
---|
| 630 | |
---|
| 631 | </table> |
---|
| 632 | </td> |
---|
| 633 | </tr> |
---|
| 634 | </table> |
---|
| 635 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 636 | <tr> |
---|
| 637 | <td> |
---|
| 638 | |
---|
| 639 | </td> |
---|
| 640 | <td> |
---|
| 641 | |
---|
| 642 | <p> |
---|
| 643 | An internal function to create a text area. |
---|
| 644 | <p> |
---|
| 645 | </td> |
---|
| 646 | </tr> |
---|
| 647 | </table> |
---|
| 648 | <a class="anchor" name="Ogre_1_1Profilera9" doxytag="Ogre::Profiler::disableProfile" ></a><p> |
---|
| 649 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 650 | <tr> |
---|
| 651 | <td class="mdRow"> |
---|
| 652 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 653 | <tr> |
---|
| 654 | <td class="md" nowrap valign="top"> void Ogre::Profiler::disableProfile </td> |
---|
| 655 | <td class="md" valign="top">( </td> |
---|
| 656 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 657 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 658 | <td class="md" valign="top"> ) </td> |
---|
| 659 | <td class="md" nowrap></td> |
---|
| 660 | </tr> |
---|
| 661 | |
---|
| 662 | </table> |
---|
| 663 | </td> |
---|
| 664 | </tr> |
---|
| 665 | </table> |
---|
| 666 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 667 | <tr> |
---|
| 668 | <td> |
---|
| 669 | |
---|
| 670 | </td> |
---|
| 671 | <td> |
---|
| 672 | |
---|
| 673 | <p> |
---|
| 674 | Disables a profile. |
---|
| 675 | <p> |
---|
| 676 | <dl compact><dt><b>Remarks:</b></dt><dd>Only disables the profile if this function is not called during the profile it is trying to disable. </dd></dl> |
---|
| 677 | </td> |
---|
| 678 | </tr> |
---|
| 679 | </table> |
---|
| 680 | <a class="anchor" name="Ogre_1_1Profilerb1" doxytag="Ogre::Profiler::displayResults" ></a><p> |
---|
| 681 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 682 | <tr> |
---|
| 683 | <td class="mdRow"> |
---|
| 684 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 685 | <tr> |
---|
| 686 | <td class="md" nowrap valign="top"> void Ogre::Profiler::displayResults </td> |
---|
| 687 | <td class="md" valign="top">( </td> |
---|
| 688 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 689 | <td class="md" valign="top"> ) </td> |
---|
| 690 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 691 | </tr> |
---|
| 692 | |
---|
| 693 | </table> |
---|
| 694 | </td> |
---|
| 695 | </tr> |
---|
| 696 | </table> |
---|
| 697 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 698 | <tr> |
---|
| 699 | <td> |
---|
| 700 | |
---|
| 701 | </td> |
---|
| 702 | <td> |
---|
| 703 | |
---|
| 704 | <p> |
---|
| 705 | Prints the profiling results of each frame. |
---|
| 706 | <p> |
---|
| 707 | </td> |
---|
| 708 | </tr> |
---|
| 709 | </table> |
---|
| 710 | <a class="anchor" name="Ogre_1_1Profilera8" doxytag="Ogre::Profiler::enableProfile" ></a><p> |
---|
| 711 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 712 | <tr> |
---|
| 713 | <td class="mdRow"> |
---|
| 714 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 715 | <tr> |
---|
| 716 | <td class="md" nowrap valign="top"> void Ogre::Profiler::enableProfile </td> |
---|
| 717 | <td class="md" valign="top">( </td> |
---|
| 718 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 719 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 720 | <td class="md" valign="top"> ) </td> |
---|
| 721 | <td class="md" nowrap></td> |
---|
| 722 | </tr> |
---|
| 723 | |
---|
| 724 | </table> |
---|
| 725 | </td> |
---|
| 726 | </tr> |
---|
| 727 | </table> |
---|
| 728 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 729 | <tr> |
---|
| 730 | <td> |
---|
| 731 | |
---|
| 732 | </td> |
---|
| 733 | <td> |
---|
| 734 | |
---|
| 735 | <p> |
---|
| 736 | Enables a previously disabled profile. |
---|
| 737 | <p> |
---|
| 738 | <dl compact><dt><b>Remarks:</b></dt><dd>Only enables the profile if this function is not called during the profile it is trying to enable. </dd></dl> |
---|
| 739 | </td> |
---|
| 740 | </tr> |
---|
| 741 | </table> |
---|
| 742 | <a class="anchor" name="Ogre_1_1Profilera5" doxytag="Ogre::Profiler::endProfile" ></a><p> |
---|
| 743 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 744 | <tr> |
---|
| 745 | <td class="mdRow"> |
---|
| 746 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 747 | <tr> |
---|
| 748 | <td class="md" nowrap valign="top"> void Ogre::Profiler::endProfile </td> |
---|
| 749 | <td class="md" valign="top">( </td> |
---|
| 750 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 751 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 752 | <td class="md" valign="top"> ) </td> |
---|
| 753 | <td class="md" nowrap></td> |
---|
| 754 | </tr> |
---|
| 755 | |
---|
| 756 | </table> |
---|
| 757 | </td> |
---|
| 758 | </tr> |
---|
| 759 | </table> |
---|
| 760 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 761 | <tr> |
---|
| 762 | <td> |
---|
| 763 | |
---|
| 764 | </td> |
---|
| 765 | <td> |
---|
| 766 | |
---|
| 767 | <p> |
---|
| 768 | Ends a profile. |
---|
| 769 | <p> |
---|
| 770 | <dl compact><dt><b>Remarks:</b></dt><dd>Use the macro <a class="el" href="OgreProfiler_8h.html#a2">OgreProfileEnd(name)</a> instead of calling this directly so that profiling can be ignored in the release version of your app. <p> |
---|
| 771 | 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(name)</a> 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. </dd></dl> |
---|
| 772 | </td> |
---|
| 773 | </tr> |
---|
| 774 | </table> |
---|
| 775 | <a class="anchor" name="Ogre_1_1Profilera7" doxytag="Ogre::Profiler::getEnabled" ></a><p> |
---|
| 776 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 777 | <tr> |
---|
| 778 | <td class="mdRow"> |
---|
| 779 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 780 | <tr> |
---|
| 781 | <td class="md" nowrap valign="top"> bool Ogre::Profiler::getEnabled </td> |
---|
| 782 | <td class="md" valign="top">( </td> |
---|
| 783 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 784 | <td class="md" valign="top"> ) </td> |
---|
| 785 | <td class="md" nowrap> const</td> |
---|
| 786 | </tr> |
---|
| 787 | |
---|
| 788 | </table> |
---|
| 789 | </td> |
---|
| 790 | </tr> |
---|
| 791 | </table> |
---|
| 792 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 793 | <tr> |
---|
| 794 | <td> |
---|
| 795 | |
---|
| 796 | </td> |
---|
| 797 | <td> |
---|
| 798 | |
---|
| 799 | <p> |
---|
| 800 | Gets whether this profiler is enabled. |
---|
| 801 | <p> |
---|
| 802 | </td> |
---|
| 803 | </tr> |
---|
| 804 | </table> |
---|
| 805 | <a class="anchor" name="Ogre_1_1Profilere0" doxytag="Ogre::Profiler::getSingleton" ></a><p> |
---|
| 806 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 807 | <tr> |
---|
| 808 | <td class="mdRow"> |
---|
| 809 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 810 | <tr> |
---|
| 811 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html">Profiler</a>& Ogre::Profiler::getSingleton </td> |
---|
| 812 | <td class="md" valign="top">( </td> |
---|
| 813 | <td class="md" nowrap valign="top">void </td> |
---|
| 814 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 815 | <td class="md" valign="top"> ) </td> |
---|
| 816 | <td class="md" nowrap><code> [static]</code></td> |
---|
| 817 | </tr> |
---|
| 818 | |
---|
| 819 | </table> |
---|
| 820 | </td> |
---|
| 821 | </tr> |
---|
| 822 | </table> |
---|
| 823 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 824 | <tr> |
---|
| 825 | <td> |
---|
| 826 | |
---|
| 827 | </td> |
---|
| 828 | <td> |
---|
| 829 | |
---|
| 830 | <p> |
---|
| 831 | Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. |
---|
| 832 | <p> |
---|
| 833 | <dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl> |
---|
| 834 | <dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl> |
---|
| 835 | |
---|
| 836 | <p> |
---|
| 837 | Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton< Profiler ></a>. </td> |
---|
| 838 | </tr> |
---|
| 839 | </table> |
---|
| 840 | <a class="anchor" name="Ogre_1_1Profilere1" doxytag="Ogre::Profiler::getSingletonPtr" ></a><p> |
---|
| 841 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 842 | <tr> |
---|
| 843 | <td class="mdRow"> |
---|
| 844 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 845 | <tr> |
---|
| 846 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html">Profiler</a>* Ogre::Profiler::getSingletonPtr </td> |
---|
| 847 | <td class="md" valign="top">( </td> |
---|
| 848 | <td class="md" nowrap valign="top">void </td> |
---|
| 849 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 850 | <td class="md" valign="top"> ) </td> |
---|
| 851 | <td class="md" nowrap><code> [static]</code></td> |
---|
| 852 | </tr> |
---|
| 853 | |
---|
| 854 | </table> |
---|
| 855 | </td> |
---|
| 856 | </tr> |
---|
| 857 | </table> |
---|
| 858 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 859 | <tr> |
---|
| 860 | <td> |
---|
| 861 | |
---|
| 862 | </td> |
---|
| 863 | <td> |
---|
| 864 | |
---|
| 865 | <p> |
---|
| 866 | Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. |
---|
| 867 | <p> |
---|
| 868 | <dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl> |
---|
| 869 | <dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl> |
---|
| 870 | |
---|
| 871 | <p> |
---|
| 872 | Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton< Profiler ></a>. </td> |
---|
| 873 | </tr> |
---|
| 874 | </table> |
---|
| 875 | <a class="anchor" name="Ogre_1_1Profilera3" doxytag="Ogre::Profiler::getTimer" ></a><p> |
---|
| 876 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 877 | <tr> |
---|
| 878 | <td class="mdRow"> |
---|
| 879 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 880 | <tr> |
---|
| 881 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Timer.html">Timer</a>* Ogre::Profiler::getTimer </td> |
---|
| 882 | <td class="md" valign="top">( </td> |
---|
| 883 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 884 | <td class="md" valign="top"> ) </td> |
---|
| 885 | <td class="md" nowrap></td> |
---|
| 886 | </tr> |
---|
| 887 | |
---|
| 888 | </table> |
---|
| 889 | </td> |
---|
| 890 | </tr> |
---|
| 891 | </table> |
---|
| 892 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 893 | <tr> |
---|
| 894 | <td> |
---|
| 895 | |
---|
| 896 | </td> |
---|
| 897 | <td> |
---|
| 898 | |
---|
| 899 | <p> |
---|
| 900 | Retrieves the timer for the profiler. |
---|
| 901 | <p> |
---|
| 902 | </td> |
---|
| 903 | </tr> |
---|
| 904 | </table> |
---|
| 905 | <a class="anchor" name="Ogre_1_1Profilera16" doxytag="Ogre::Profiler::getUpdateDisplayFrequency" ></a><p> |
---|
| 906 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 907 | <tr> |
---|
| 908 | <td class="mdRow"> |
---|
| 909 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 910 | <tr> |
---|
| 911 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a468">uint</a> Ogre::Profiler::getUpdateDisplayFrequency </td> |
---|
| 912 | <td class="md" valign="top">( </td> |
---|
| 913 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 914 | <td class="md" valign="top"> ) </td> |
---|
| 915 | <td class="md" nowrap> const</td> |
---|
| 916 | </tr> |
---|
| 917 | |
---|
| 918 | </table> |
---|
| 919 | </td> |
---|
| 920 | </tr> |
---|
| 921 | </table> |
---|
| 922 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 923 | <tr> |
---|
| 924 | <td> |
---|
| 925 | |
---|
| 926 | </td> |
---|
| 927 | <td> |
---|
| 928 | |
---|
| 929 | <p> |
---|
| 930 | Gets the frequency that the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> display is updated. |
---|
| 931 | <p> |
---|
| 932 | </td> |
---|
| 933 | </tr> |
---|
| 934 | </table> |
---|
| 935 | <a class="anchor" name="Ogre_1_1Profilerb0" doxytag="Ogre::Profiler::initialize" ></a><p> |
---|
| 936 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 937 | <tr> |
---|
| 938 | <td class="mdRow"> |
---|
| 939 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 940 | <tr> |
---|
| 941 | <td class="md" nowrap valign="top"> void Ogre::Profiler::initialize </td> |
---|
| 942 | <td class="md" valign="top">( </td> |
---|
| 943 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 944 | <td class="md" valign="top"> ) </td> |
---|
| 945 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 946 | </tr> |
---|
| 947 | |
---|
| 948 | </table> |
---|
| 949 | </td> |
---|
| 950 | </tr> |
---|
| 951 | </table> |
---|
| 952 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 953 | <tr> |
---|
| 954 | <td> |
---|
| 955 | |
---|
| 956 | </td> |
---|
| 957 | <td> |
---|
| 958 | |
---|
| 959 | <p> |
---|
| 960 | Initializes the profiler's gui elements. |
---|
| 961 | <p> |
---|
| 962 | </td> |
---|
| 963 | </tr> |
---|
| 964 | </table> |
---|
| 965 | <a class="anchor" name="Ogre_1_1Profilera13" doxytag="Ogre::Profiler::logResults" ></a><p> |
---|
| 966 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 967 | <tr> |
---|
| 968 | <td class="mdRow"> |
---|
| 969 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 970 | <tr> |
---|
| 971 | <td class="md" nowrap valign="top"> void Ogre::Profiler::logResults </td> |
---|
| 972 | <td class="md" valign="top">( </td> |
---|
| 973 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 974 | <td class="md" valign="top"> ) </td> |
---|
| 975 | <td class="md" nowrap></td> |
---|
| 976 | </tr> |
---|
| 977 | |
---|
| 978 | </table> |
---|
| 979 | </td> |
---|
| 980 | </tr> |
---|
| 981 | </table> |
---|
| 982 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 983 | <tr> |
---|
| 984 | <td> |
---|
| 985 | |
---|
| 986 | </td> |
---|
| 987 | <td> |
---|
| 988 | |
---|
| 989 | <p> |
---|
| 990 | Outputs current profile statistics to the log. |
---|
| 991 | <p> |
---|
| 992 | </td> |
---|
| 993 | </tr> |
---|
| 994 | </table> |
---|
| 995 | <a class="anchor" name="Ogre_1_1Profilerb2" doxytag="Ogre::Profiler::processFrameStats" ></a><p> |
---|
| 996 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 997 | <tr> |
---|
| 998 | <td class="mdRow"> |
---|
| 999 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1000 | <tr> |
---|
| 1001 | <td class="md" nowrap valign="top"> void Ogre::Profiler::processFrameStats </td> |
---|
| 1002 | <td class="md" valign="top">( </td> |
---|
| 1003 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1004 | <td class="md" valign="top"> ) </td> |
---|
| 1005 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 1006 | </tr> |
---|
| 1007 | |
---|
| 1008 | </table> |
---|
| 1009 | </td> |
---|
| 1010 | </tr> |
---|
| 1011 | </table> |
---|
| 1012 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1013 | <tr> |
---|
| 1014 | <td> |
---|
| 1015 | |
---|
| 1016 | </td> |
---|
| 1017 | <td> |
---|
| 1018 | |
---|
| 1019 | <p> |
---|
| 1020 | Processes the profiler data after each frame. |
---|
| 1021 | <p> |
---|
| 1022 | </td> |
---|
| 1023 | </tr> |
---|
| 1024 | </table> |
---|
| 1025 | <a class="anchor" name="Ogre_1_1Profilera14" doxytag="Ogre::Profiler::reset" ></a><p> |
---|
| 1026 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1027 | <tr> |
---|
| 1028 | <td class="mdRow"> |
---|
| 1029 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1030 | <tr> |
---|
| 1031 | <td class="md" nowrap valign="top"> void Ogre::Profiler::reset </td> |
---|
| 1032 | <td class="md" valign="top">( </td> |
---|
| 1033 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1034 | <td class="md" valign="top"> ) </td> |
---|
| 1035 | <td class="md" nowrap></td> |
---|
| 1036 | </tr> |
---|
| 1037 | |
---|
| 1038 | </table> |
---|
| 1039 | </td> |
---|
| 1040 | </tr> |
---|
| 1041 | </table> |
---|
| 1042 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1043 | <tr> |
---|
| 1044 | <td> |
---|
| 1045 | |
---|
| 1046 | </td> |
---|
| 1047 | <td> |
---|
| 1048 | |
---|
| 1049 | <p> |
---|
| 1050 | Clears the profiler statistics. |
---|
| 1051 | <p> |
---|
| 1052 | </td> |
---|
| 1053 | </tr> |
---|
| 1054 | </table> |
---|
| 1055 | <a class="anchor" name="Ogre_1_1Profilera6" doxytag="Ogre::Profiler::setEnabled" ></a><p> |
---|
| 1056 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1057 | <tr> |
---|
| 1058 | <td class="mdRow"> |
---|
| 1059 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1060 | <tr> |
---|
| 1061 | <td class="md" nowrap valign="top"> void Ogre::Profiler::setEnabled </td> |
---|
| 1062 | <td class="md" valign="top">( </td> |
---|
| 1063 | <td class="md" nowrap valign="top">bool </td> |
---|
| 1064 | <td class="mdname1" valign="top" nowrap> <em>enabled</em> </td> |
---|
| 1065 | <td class="md" valign="top"> ) </td> |
---|
| 1066 | <td class="md" nowrap></td> |
---|
| 1067 | </tr> |
---|
| 1068 | |
---|
| 1069 | </table> |
---|
| 1070 | </td> |
---|
| 1071 | </tr> |
---|
| 1072 | </table> |
---|
| 1073 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1074 | <tr> |
---|
| 1075 | <td> |
---|
| 1076 | |
---|
| 1077 | </td> |
---|
| 1078 | <td> |
---|
| 1079 | |
---|
| 1080 | <p> |
---|
| 1081 | Sets whether this profiler is enabled. |
---|
| 1082 | <p> |
---|
| 1083 | Only takes effect after the the frame has ended. <dl compact><dt><b>Remarks:</b></dt><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> </dd></dl> |
---|
| 1084 | </td> |
---|
| 1085 | </tr> |
---|
| 1086 | </table> |
---|
| 1087 | <a class="anchor" name="Ogre_1_1Profilera2" doxytag="Ogre::Profiler::setTimer" ></a><p> |
---|
| 1088 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1089 | <tr> |
---|
| 1090 | <td class="mdRow"> |
---|
| 1091 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1092 | <tr> |
---|
| 1093 | <td class="md" nowrap valign="top"> void Ogre::Profiler::setTimer </td> |
---|
| 1094 | <td class="md" valign="top">( </td> |
---|
| 1095 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Timer.html">Timer</a> * </td> |
---|
| 1096 | <td class="mdname1" valign="top" nowrap> <em>t</em> </td> |
---|
| 1097 | <td class="md" valign="top"> ) </td> |
---|
| 1098 | <td class="md" nowrap></td> |
---|
| 1099 | </tr> |
---|
| 1100 | |
---|
| 1101 | </table> |
---|
| 1102 | </td> |
---|
| 1103 | </tr> |
---|
| 1104 | </table> |
---|
| 1105 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1106 | <tr> |
---|
| 1107 | <td> |
---|
| 1108 | |
---|
| 1109 | </td> |
---|
| 1110 | <td> |
---|
| 1111 | |
---|
| 1112 | <p> |
---|
| 1113 | Sets the timer for the profiler. |
---|
| 1114 | <p> |
---|
| 1115 | </td> |
---|
| 1116 | </tr> |
---|
| 1117 | </table> |
---|
| 1118 | <a class="anchor" name="Ogre_1_1Profilera15" doxytag="Ogre::Profiler::setUpdateDisplayFrequency" ></a><p> |
---|
| 1119 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1120 | <tr> |
---|
| 1121 | <td class="mdRow"> |
---|
| 1122 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1123 | <tr> |
---|
| 1124 | <td class="md" nowrap valign="top"> void Ogre::Profiler::setUpdateDisplayFrequency </td> |
---|
| 1125 | <td class="md" valign="top">( </td> |
---|
| 1126 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 1127 | <td class="mdname1" valign="top" nowrap> <em>freq</em> </td> |
---|
| 1128 | <td class="md" valign="top"> ) </td> |
---|
| 1129 | <td class="md" nowrap></td> |
---|
| 1130 | </tr> |
---|
| 1131 | |
---|
| 1132 | </table> |
---|
| 1133 | </td> |
---|
| 1134 | </tr> |
---|
| 1135 | </table> |
---|
| 1136 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1137 | <tr> |
---|
| 1138 | <td> |
---|
| 1139 | |
---|
| 1140 | </td> |
---|
| 1141 | <td> |
---|
| 1142 | |
---|
| 1143 | <p> |
---|
| 1144 | Sets the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> so the display of results are updated ever n frames. |
---|
| 1145 | <p> |
---|
| 1146 | </td> |
---|
| 1147 | </tr> |
---|
| 1148 | </table> |
---|
| 1149 | <a class="anchor" name="Ogre_1_1Profilera12" doxytag="Ogre::Profiler::watchForLimit" ></a><p> |
---|
| 1150 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1151 | <tr> |
---|
| 1152 | <td class="mdRow"> |
---|
| 1153 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1154 | <tr> |
---|
| 1155 | <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForLimit </td> |
---|
| 1156 | <td class="md" valign="top">( </td> |
---|
| 1157 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1158 | <td class="mdname" nowrap> <em>profileName</em>, </td> |
---|
| 1159 | </tr> |
---|
| 1160 | <tr> |
---|
| 1161 | <td class="md" nowrap align="right"></td> |
---|
| 1162 | <td></td> |
---|
| 1163 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 1164 | <td class="mdname" nowrap> <em>limit</em>, </td> |
---|
| 1165 | </tr> |
---|
| 1166 | <tr> |
---|
| 1167 | <td class="md" nowrap align="right"></td> |
---|
| 1168 | <td></td> |
---|
| 1169 | <td class="md" nowrap>bool </td> |
---|
| 1170 | <td class="mdname" nowrap> <em>greaterThan</em> = true</td> |
---|
| 1171 | </tr> |
---|
| 1172 | <tr> |
---|
| 1173 | <td></td> |
---|
| 1174 | <td class="md">) </td> |
---|
| 1175 | <td class="md" colspan="2"></td> |
---|
| 1176 | </tr> |
---|
| 1177 | |
---|
| 1178 | </table> |
---|
| 1179 | </td> |
---|
| 1180 | </tr> |
---|
| 1181 | </table> |
---|
| 1182 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1183 | <tr> |
---|
| 1184 | <td> |
---|
| 1185 | |
---|
| 1186 | </td> |
---|
| 1187 | <td> |
---|
| 1188 | |
---|
| 1189 | <p> |
---|
| 1190 | Returns true if the specified profile goes over or under the given limit frame time. |
---|
| 1191 | <p> |
---|
| 1192 | <dl compact><dt><b>Remarks:</b></dt><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. </dd></dl> |
---|
| 1193 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1194 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1195 | <tr><td valign=top><em>limit</em> </td><td>A number between 0 and 1 representing the percentage of frame time </td></tr> |
---|
| 1196 | <tr><td valign=top><em>greaterThan</em> </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> |
---|
| 1197 | </table> |
---|
| 1198 | </dl> |
---|
| 1199 | </td> |
---|
| 1200 | </tr> |
---|
| 1201 | </table> |
---|
| 1202 | <a class="anchor" name="Ogre_1_1Profilera10" doxytag="Ogre::Profiler::watchForMax" ></a><p> |
---|
| 1203 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1204 | <tr> |
---|
| 1205 | <td class="mdRow"> |
---|
| 1206 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1207 | <tr> |
---|
| 1208 | <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForMax </td> |
---|
| 1209 | <td class="md" valign="top">( </td> |
---|
| 1210 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1211 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 1212 | <td class="md" valign="top"> ) </td> |
---|
| 1213 | <td class="md" nowrap></td> |
---|
| 1214 | </tr> |
---|
| 1215 | |
---|
| 1216 | </table> |
---|
| 1217 | </td> |
---|
| 1218 | </tr> |
---|
| 1219 | </table> |
---|
| 1220 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1221 | <tr> |
---|
| 1222 | <td> |
---|
| 1223 | |
---|
| 1224 | </td> |
---|
| 1225 | <td> |
---|
| 1226 | |
---|
| 1227 | <p> |
---|
| 1228 | Returns true if the specified profile reaches a new frame time maximum. |
---|
| 1229 | <p> |
---|
| 1230 | <dl compact><dt><b>Remarks:</b></dt><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. </dd></dl> |
---|
| 1231 | </td> |
---|
| 1232 | </tr> |
---|
| 1233 | </table> |
---|
| 1234 | <a class="anchor" name="Ogre_1_1Profilera11" doxytag="Ogre::Profiler::watchForMin" ></a><p> |
---|
| 1235 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1236 | <tr> |
---|
| 1237 | <td class="mdRow"> |
---|
| 1238 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1239 | <tr> |
---|
| 1240 | <td class="md" nowrap valign="top"> bool Ogre::Profiler::watchForMin </td> |
---|
| 1241 | <td class="md" valign="top">( </td> |
---|
| 1242 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1243 | <td class="mdname1" valign="top" nowrap> <em>profileName</em> </td> |
---|
| 1244 | <td class="md" valign="top"> ) </td> |
---|
| 1245 | <td class="md" nowrap></td> |
---|
| 1246 | </tr> |
---|
| 1247 | |
---|
| 1248 | </table> |
---|
| 1249 | </td> |
---|
| 1250 | </tr> |
---|
| 1251 | </table> |
---|
| 1252 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1253 | <tr> |
---|
| 1254 | <td> |
---|
| 1255 | |
---|
| 1256 | </td> |
---|
| 1257 | <td> |
---|
| 1258 | |
---|
| 1259 | <p> |
---|
| 1260 | Returns true if the specified profile reaches a new frame time minimum. |
---|
| 1261 | <p> |
---|
| 1262 | <dl compact><dt><b>Remarks:</b></dt><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. </dd></dl> |
---|
| 1263 | </td> |
---|
| 1264 | </tr> |
---|
| 1265 | </table> |
---|
| 1266 | <hr><h2>Member Data Documentation</h2> |
---|
| 1267 | <a class="anchor" name="Ogre_1_1Profilerp7" doxytag="Ogre::Profiler::maxProfiles" ></a><p> |
---|
| 1268 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1269 | <tr> |
---|
| 1270 | <td class="mdRow"> |
---|
| 1271 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1272 | <tr> |
---|
| 1273 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a468">uint</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp7">Ogre::Profiler::maxProfiles</a><code> [protected]</code> |
---|
| 1274 | </table> |
---|
| 1275 | </td> |
---|
| 1276 | </tr> |
---|
| 1277 | </table> |
---|
| 1278 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1279 | <tr> |
---|
| 1280 | <td> |
---|
| 1281 | |
---|
| 1282 | </td> |
---|
| 1283 | <td> |
---|
| 1284 | |
---|
| 1285 | <p> |
---|
| 1286 | The max number of profiles we can display. |
---|
| 1287 | <p> |
---|
| 1288 | |
---|
| 1289 | <p> |
---|
| 1290 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00357">357</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1291 | </tr> |
---|
| 1292 | </table> |
---|
| 1293 | <a class="anchor" name="Ogre_1_1Profilerp10" doxytag="Ogre::Profiler::mBarHeight" ></a><p> |
---|
| 1294 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1295 | <tr> |
---|
| 1296 | <td class="mdRow"> |
---|
| 1297 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1298 | <tr> |
---|
| 1299 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp10">Ogre::Profiler::mBarHeight</a><code> [protected]</code> |
---|
| 1300 | </table> |
---|
| 1301 | </td> |
---|
| 1302 | </tr> |
---|
| 1303 | </table> |
---|
| 1304 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1305 | <tr> |
---|
| 1306 | <td> |
---|
| 1307 | |
---|
| 1308 | </td> |
---|
| 1309 | <td> |
---|
| 1310 | |
---|
| 1311 | <p> |
---|
| 1312 | The height of each bar. |
---|
| 1313 | <p> |
---|
| 1314 | |
---|
| 1315 | <p> |
---|
| 1316 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00366">366</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1317 | </tr> |
---|
| 1318 | </table> |
---|
| 1319 | <a class="anchor" name="Ogre_1_1Profilerp13" doxytag="Ogre::Profiler::mBarIndent" ></a><p> |
---|
| 1320 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1321 | <tr> |
---|
| 1322 | <td class="mdRow"> |
---|
| 1323 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1324 | <tr> |
---|
| 1325 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp13">Ogre::Profiler::mBarIndent</a><code> [protected]</code> |
---|
| 1326 | </table> |
---|
| 1327 | </td> |
---|
| 1328 | </tr> |
---|
| 1329 | </table> |
---|
| 1330 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1331 | <tr> |
---|
| 1332 | <td> |
---|
| 1333 | |
---|
| 1334 | </td> |
---|
| 1335 | <td> |
---|
| 1336 | |
---|
| 1337 | <p> |
---|
| 1338 | The size of the indent for each profile display bar. |
---|
| 1339 | <p> |
---|
| 1340 | |
---|
| 1341 | <p> |
---|
| 1342 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00375">375</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1343 | </tr> |
---|
| 1344 | </table> |
---|
| 1345 | <a class="anchor" name="Ogre_1_1Profilerp15" doxytag="Ogre::Profiler::mBarLineWidth" ></a><p> |
---|
| 1346 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1347 | <tr> |
---|
| 1348 | <td class="mdRow"> |
---|
| 1349 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1350 | <tr> |
---|
| 1351 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp15">Ogre::Profiler::mBarLineWidth</a><code> [protected]</code> |
---|
| 1352 | </table> |
---|
| 1353 | </td> |
---|
| 1354 | </tr> |
---|
| 1355 | </table> |
---|
| 1356 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1357 | <tr> |
---|
| 1358 | <td> |
---|
| 1359 | |
---|
| 1360 | </td> |
---|
| 1361 | <td> |
---|
| 1362 | |
---|
| 1363 | <p> |
---|
| 1364 | The width of the min, avg, and max lines in a profile display. |
---|
| 1365 | <p> |
---|
| 1366 | |
---|
| 1367 | <p> |
---|
| 1368 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00381">381</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1369 | </tr> |
---|
| 1370 | </table> |
---|
| 1371 | <a class="anchor" name="Ogre_1_1Profilerp17" doxytag="Ogre::Profiler::mCurrentFrame" ></a><p> |
---|
| 1372 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1373 | <tr> |
---|
| 1374 | <td class="mdRow"> |
---|
| 1375 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1376 | <tr> |
---|
| 1377 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a468">uint</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp17">Ogre::Profiler::mCurrentFrame</a><code> [protected]</code> |
---|
| 1378 | </table> |
---|
| 1379 | </td> |
---|
| 1380 | </tr> |
---|
| 1381 | </table> |
---|
| 1382 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1383 | <tr> |
---|
| 1384 | <td> |
---|
| 1385 | |
---|
| 1386 | </td> |
---|
| 1387 | <td> |
---|
| 1388 | |
---|
| 1389 | <p> |
---|
| 1390 | The number of elasped frame, used with mUpdateDisplayFrequency. |
---|
| 1391 | <p> |
---|
| 1392 | |
---|
| 1393 | <p> |
---|
| 1394 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00388">388</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1395 | </tr> |
---|
| 1396 | </table> |
---|
| 1397 | <a class="anchor" name="Ogre_1_1Profilerp4" doxytag="Ogre::Profiler::mDisabledProfiles" ></a><p> |
---|
| 1398 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1399 | <tr> |
---|
| 1400 | <td class="mdRow"> |
---|
| 1401 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1402 | <tr> |
---|
| 1403 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx4">DisabledProfileMap</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp4">Ogre::Profiler::mDisabledProfiles</a><code> [protected]</code> |
---|
| 1404 | </table> |
---|
| 1405 | </td> |
---|
| 1406 | </tr> |
---|
| 1407 | </table> |
---|
| 1408 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1409 | <tr> |
---|
| 1410 | <td> |
---|
| 1411 | |
---|
| 1412 | </td> |
---|
| 1413 | <td> |
---|
| 1414 | |
---|
| 1415 | <p> |
---|
| 1416 | Holds the names of disabled profiles. |
---|
| 1417 | <p> |
---|
| 1418 | |
---|
| 1419 | <p> |
---|
| 1420 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00348">348</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1421 | </tr> |
---|
| 1422 | </table> |
---|
| 1423 | <a class="anchor" name="Ogre_1_1Profilerp20" doxytag="Ogre::Profiler::mEnabled" ></a><p> |
---|
| 1424 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1425 | <tr> |
---|
| 1426 | <td class="mdRow"> |
---|
| 1427 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1428 | <tr> |
---|
| 1429 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp20">Ogre::Profiler::mEnabled</a><code> [protected]</code> |
---|
| 1430 | </table> |
---|
| 1431 | </td> |
---|
| 1432 | </tr> |
---|
| 1433 | </table> |
---|
| 1434 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1435 | <tr> |
---|
| 1436 | <td> |
---|
| 1437 | |
---|
| 1438 | </td> |
---|
| 1439 | <td> |
---|
| 1440 | |
---|
| 1441 | <p> |
---|
| 1442 | Whether this profiler is enabled. |
---|
| 1443 | <p> |
---|
| 1444 | |
---|
| 1445 | <p> |
---|
| 1446 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00397">397</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1447 | </tr> |
---|
| 1448 | </table> |
---|
| 1449 | <a class="anchor" name="Ogre_1_1Profilerp21" doxytag="Ogre::Profiler::mEnableStateChangePending" ></a><p> |
---|
| 1450 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1451 | <tr> |
---|
| 1452 | <td class="mdRow"> |
---|
| 1453 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1454 | <tr> |
---|
| 1455 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp21">Ogre::Profiler::mEnableStateChangePending</a><code> [protected]</code> |
---|
| 1456 | </table> |
---|
| 1457 | </td> |
---|
| 1458 | </tr> |
---|
| 1459 | </table> |
---|
| 1460 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1461 | <tr> |
---|
| 1462 | <td> |
---|
| 1463 | |
---|
| 1464 | </td> |
---|
| 1465 | <td> |
---|
| 1466 | |
---|
| 1467 | <p> |
---|
| 1468 | Keeps track of whether this profiler has received a request to be enabled/disabled. |
---|
| 1469 | <p> |
---|
| 1470 | |
---|
| 1471 | <p> |
---|
| 1472 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00401">401</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1473 | </tr> |
---|
| 1474 | </table> |
---|
| 1475 | <a class="anchor" name="Ogre_1_1Profilerp14" doxytag="Ogre::Profiler::mGuiBorderWidth" ></a><p> |
---|
| 1476 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1477 | <tr> |
---|
| 1478 | <td class="mdRow"> |
---|
| 1479 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1480 | <tr> |
---|
| 1481 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp14">Ogre::Profiler::mGuiBorderWidth</a><code> [protected]</code> |
---|
| 1482 | </table> |
---|
| 1483 | </td> |
---|
| 1484 | </tr> |
---|
| 1485 | </table> |
---|
| 1486 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1487 | <tr> |
---|
| 1488 | <td> |
---|
| 1489 | |
---|
| 1490 | </td> |
---|
| 1491 | <td> |
---|
| 1492 | |
---|
| 1493 | <p> |
---|
| 1494 | The width of the border between the profile window and each bar. |
---|
| 1495 | <p> |
---|
| 1496 | |
---|
| 1497 | <p> |
---|
| 1498 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00378">378</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1499 | </tr> |
---|
| 1500 | </table> |
---|
| 1501 | <a class="anchor" name="Ogre_1_1Profilerp11" doxytag="Ogre::Profiler::mGuiHeight" ></a><p> |
---|
| 1502 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1503 | <tr> |
---|
| 1504 | <td class="mdRow"> |
---|
| 1505 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1506 | <tr> |
---|
| 1507 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp11">Ogre::Profiler::mGuiHeight</a><code> [protected]</code> |
---|
| 1508 | </table> |
---|
| 1509 | </td> |
---|
| 1510 | </tr> |
---|
| 1511 | </table> |
---|
| 1512 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1513 | <tr> |
---|
| 1514 | <td> |
---|
| 1515 | |
---|
| 1516 | </td> |
---|
| 1517 | <td> |
---|
| 1518 | |
---|
| 1519 | <p> |
---|
| 1520 | The height of the stats window. |
---|
| 1521 | <p> |
---|
| 1522 | |
---|
| 1523 | <p> |
---|
| 1524 | 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>. </td> |
---|
| 1525 | </tr> |
---|
| 1526 | </table> |
---|
| 1527 | <a class="anchor" name="Ogre_1_1Profilerp12" doxytag="Ogre::Profiler::mGuiWidth" ></a><p> |
---|
| 1528 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1529 | <tr> |
---|
| 1530 | <td class="mdRow"> |
---|
| 1531 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1532 | <tr> |
---|
| 1533 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp12">Ogre::Profiler::mGuiWidth</a><code> [protected]</code> |
---|
| 1534 | </table> |
---|
| 1535 | </td> |
---|
| 1536 | </tr> |
---|
| 1537 | </table> |
---|
| 1538 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1539 | <tr> |
---|
| 1540 | <td> |
---|
| 1541 | |
---|
| 1542 | </td> |
---|
| 1543 | <td> |
---|
| 1544 | |
---|
| 1545 | <p> |
---|
| 1546 | The width of the stats window. |
---|
| 1547 | <p> |
---|
| 1548 | |
---|
| 1549 | <p> |
---|
| 1550 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00372">372</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1551 | </tr> |
---|
| 1552 | </table> |
---|
| 1553 | <a class="anchor" name="Ogre_1_1Profilerp6" doxytag="Ogre::Profiler::mInitialized" ></a><p> |
---|
| 1554 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1555 | <tr> |
---|
| 1556 | <td class="mdRow"> |
---|
| 1557 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1558 | <tr> |
---|
| 1559 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp6">Ogre::Profiler::mInitialized</a><code> [protected]</code> |
---|
| 1560 | </table> |
---|
| 1561 | </td> |
---|
| 1562 | </tr> |
---|
| 1563 | </table> |
---|
| 1564 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1565 | <tr> |
---|
| 1566 | <td> |
---|
| 1567 | |
---|
| 1568 | </td> |
---|
| 1569 | <td> |
---|
| 1570 | |
---|
| 1571 | <p> |
---|
| 1572 | Whether the GUI elements have been initialized. |
---|
| 1573 | <p> |
---|
| 1574 | |
---|
| 1575 | <p> |
---|
| 1576 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00354">354</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1577 | </tr> |
---|
| 1578 | </table> |
---|
| 1579 | <a class="anchor" name="Ogre_1_1Profilerp22" doxytag="Ogre::Profiler::mNewEnableState" ></a><p> |
---|
| 1580 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1581 | <tr> |
---|
| 1582 | <td class="mdRow"> |
---|
| 1583 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1584 | <tr> |
---|
| 1585 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp22">Ogre::Profiler::mNewEnableState</a><code> [protected]</code> |
---|
| 1586 | </table> |
---|
| 1587 | </td> |
---|
| 1588 | </tr> |
---|
| 1589 | </table> |
---|
| 1590 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1591 | <tr> |
---|
| 1592 | <td> |
---|
| 1593 | |
---|
| 1594 | </td> |
---|
| 1595 | <td> |
---|
| 1596 | |
---|
| 1597 | <p> |
---|
| 1598 | Keeps track of the new enabled/disabled state that the user has requested which will be applied after the frame ends. |
---|
| 1599 | <p> |
---|
| 1600 | |
---|
| 1601 | <p> |
---|
| 1602 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00405">405</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1603 | </tr> |
---|
| 1604 | </table> |
---|
| 1605 | <a class="anchor" name="Ogre_1_1Profilerp8" doxytag="Ogre::Profiler::mOverlay" ></a><p> |
---|
| 1606 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1607 | <tr> |
---|
| 1608 | <td class="mdRow"> |
---|
| 1609 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1610 | <tr> |
---|
| 1611 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Overlay.html">Overlay</a>* <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp8">Ogre::Profiler::mOverlay</a><code> [protected]</code> |
---|
| 1612 | </table> |
---|
| 1613 | </td> |
---|
| 1614 | </tr> |
---|
| 1615 | </table> |
---|
| 1616 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1617 | <tr> |
---|
| 1618 | <td> |
---|
| 1619 | |
---|
| 1620 | </td> |
---|
| 1621 | <td> |
---|
| 1622 | |
---|
| 1623 | <p> |
---|
| 1624 | The overlay which contains our profiler results display. |
---|
| 1625 | <p> |
---|
| 1626 | |
---|
| 1627 | <p> |
---|
| 1628 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00360">360</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1629 | </tr> |
---|
| 1630 | </table> |
---|
| 1631 | <a class="anchor" name="Ogre_1_1Profilerp5" doxytag="Ogre::Profiler::mProfileBars" ></a><p> |
---|
| 1632 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1633 | <tr> |
---|
| 1634 | <td class="mdRow"> |
---|
| 1635 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1636 | <tr> |
---|
| 1637 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx5">ProfileBarList</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp5">Ogre::Profiler::mProfileBars</a><code> [protected]</code> |
---|
| 1638 | </table> |
---|
| 1639 | </td> |
---|
| 1640 | </tr> |
---|
| 1641 | </table> |
---|
| 1642 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1643 | <tr> |
---|
| 1644 | <td> |
---|
| 1645 | |
---|
| 1646 | </td> |
---|
| 1647 | <td> |
---|
| 1648 | |
---|
| 1649 | <p> |
---|
| 1650 | Holds the display bars for each profile results. |
---|
| 1651 | <p> |
---|
| 1652 | |
---|
| 1653 | <p> |
---|
| 1654 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00351">351</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1655 | </tr> |
---|
| 1656 | </table> |
---|
| 1657 | <a class="anchor" name="Ogre_1_1Profilerp1" doxytag="Ogre::Profiler::mProfileFrame" ></a><p> |
---|
| 1658 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1659 | <tr> |
---|
| 1660 | <td class="mdRow"> |
---|
| 1661 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1662 | <tr> |
---|
| 1663 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx1">ProfileFrameList</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp1">Ogre::Profiler::mProfileFrame</a><code> [protected]</code> |
---|
| 1664 | </table> |
---|
| 1665 | </td> |
---|
| 1666 | </tr> |
---|
| 1667 | </table> |
---|
| 1668 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1669 | <tr> |
---|
| 1670 | <td> |
---|
| 1671 | |
---|
| 1672 | </td> |
---|
| 1673 | <td> |
---|
| 1674 | |
---|
| 1675 | <p> |
---|
| 1676 | Accumulates the results of each profile per frame (since a profile can be called more than once a frame). |
---|
| 1677 | <p> |
---|
| 1678 | |
---|
| 1679 | <p> |
---|
| 1680 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00339">339</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1681 | </tr> |
---|
| 1682 | </table> |
---|
| 1683 | <a class="anchor" name="Ogre_1_1Profilerp9" doxytag="Ogre::Profiler::mProfileGui" ></a><p> |
---|
| 1684 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1685 | <tr> |
---|
| 1686 | <td class="mdRow"> |
---|
| 1687 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1688 | <tr> |
---|
| 1689 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1OverlayContainer.html">OverlayContainer</a>* <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp9">Ogre::Profiler::mProfileGui</a><code> [protected]</code> |
---|
| 1690 | </table> |
---|
| 1691 | </td> |
---|
| 1692 | </tr> |
---|
| 1693 | </table> |
---|
| 1694 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1695 | <tr> |
---|
| 1696 | <td> |
---|
| 1697 | |
---|
| 1698 | </td> |
---|
| 1699 | <td> |
---|
| 1700 | |
---|
| 1701 | <p> |
---|
| 1702 | The window that displays the profiler results. |
---|
| 1703 | <p> |
---|
| 1704 | |
---|
| 1705 | <p> |
---|
| 1706 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00363">363</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1707 | </tr> |
---|
| 1708 | </table> |
---|
| 1709 | <a class="anchor" name="Ogre_1_1Profilerp2" doxytag="Ogre::Profiler::mProfileHistory" ></a><p> |
---|
| 1710 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1711 | <tr> |
---|
| 1712 | <td class="mdRow"> |
---|
| 1713 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1714 | <tr> |
---|
| 1715 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx2">ProfileHistoryList</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp2">Ogre::Profiler::mProfileHistory</a><code> [protected]</code> |
---|
| 1716 | </table> |
---|
| 1717 | </td> |
---|
| 1718 | </tr> |
---|
| 1719 | </table> |
---|
| 1720 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1721 | <tr> |
---|
| 1722 | <td> |
---|
| 1723 | |
---|
| 1724 | </td> |
---|
| 1725 | <td> |
---|
| 1726 | |
---|
| 1727 | <p> |
---|
| 1728 | Keeps track of the statistics of each profile. |
---|
| 1729 | <p> |
---|
| 1730 | |
---|
| 1731 | <p> |
---|
| 1732 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00342">342</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1733 | </tr> |
---|
| 1734 | </table> |
---|
| 1735 | <a class="anchor" name="Ogre_1_1Profilerp3" doxytag="Ogre::Profiler::mProfileHistoryMap" ></a><p> |
---|
| 1736 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1737 | <tr> |
---|
| 1738 | <td class="mdRow"> |
---|
| 1739 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1740 | <tr> |
---|
| 1741 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx3">ProfileHistoryMap</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp3">Ogre::Profiler::mProfileHistoryMap</a><code> [protected]</code> |
---|
| 1742 | </table> |
---|
| 1743 | </td> |
---|
| 1744 | </tr> |
---|
| 1745 | </table> |
---|
| 1746 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1747 | <tr> |
---|
| 1748 | <td> |
---|
| 1749 | |
---|
| 1750 | </td> |
---|
| 1751 | <td> |
---|
| 1752 | |
---|
| 1753 | <p> |
---|
| 1754 | We use this for quick look-ups of profiles in the history list. |
---|
| 1755 | <p> |
---|
| 1756 | |
---|
| 1757 | <p> |
---|
| 1758 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00345">345</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1759 | </tr> |
---|
| 1760 | </table> |
---|
| 1761 | <a class="anchor" name="Ogre_1_1Profilerp0" doxytag="Ogre::Profiler::mProfiles" ></a><p> |
---|
| 1762 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1763 | <tr> |
---|
| 1764 | <td class="mdRow"> |
---|
| 1765 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1766 | <tr> |
---|
| 1767 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerx0">ProfileStack</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp0">Ogre::Profiler::mProfiles</a><code> [protected]</code> |
---|
| 1768 | </table> |
---|
| 1769 | </td> |
---|
| 1770 | </tr> |
---|
| 1771 | </table> |
---|
| 1772 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1773 | <tr> |
---|
| 1774 | <td> |
---|
| 1775 | |
---|
| 1776 | </td> |
---|
| 1777 | <td> |
---|
| 1778 | |
---|
| 1779 | <p> |
---|
| 1780 | A stack for each individual profile per frame. |
---|
| 1781 | <p> |
---|
| 1782 | |
---|
| 1783 | <p> |
---|
| 1784 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00335">335</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1785 | </tr> |
---|
| 1786 | </table> |
---|
| 1787 | <a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::Profiler::ms_Singleton" ></a><p> |
---|
| 1788 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1789 | <tr> |
---|
| 1790 | <td class="mdRow"> |
---|
| 1791 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1792 | <tr> |
---|
| 1793 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>< <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> >::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code> |
---|
| 1794 | </table> |
---|
| 1795 | </td> |
---|
| 1796 | </tr> |
---|
| 1797 | </table> |
---|
| 1798 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1799 | <tr> |
---|
| 1800 | <td> |
---|
| 1801 | |
---|
| 1802 | </td> |
---|
| 1803 | <td> |
---|
| 1804 | |
---|
| 1805 | <p> |
---|
| 1806 | |
---|
| 1807 | <p> |
---|
| 1808 | Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>. </td> |
---|
| 1809 | </tr> |
---|
| 1810 | </table> |
---|
| 1811 | <a class="anchor" name="Ogre_1_1Profilerp18" doxytag="Ogre::Profiler::mTimer" ></a><p> |
---|
| 1812 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1813 | <tr> |
---|
| 1814 | <td class="mdRow"> |
---|
| 1815 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1816 | <tr> |
---|
| 1817 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Timer.html">Timer</a>* <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp18">Ogre::Profiler::mTimer</a><code> [protected]</code> |
---|
| 1818 | </table> |
---|
| 1819 | </td> |
---|
| 1820 | </tr> |
---|
| 1821 | </table> |
---|
| 1822 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1823 | <tr> |
---|
| 1824 | <td> |
---|
| 1825 | |
---|
| 1826 | </td> |
---|
| 1827 | <td> |
---|
| 1828 | |
---|
| 1829 | <p> |
---|
| 1830 | The timer used for profiling. |
---|
| 1831 | <p> |
---|
| 1832 | |
---|
| 1833 | <p> |
---|
| 1834 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00391">391</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1835 | </tr> |
---|
| 1836 | </table> |
---|
| 1837 | <a class="anchor" name="Ogre_1_1Profilerp19" doxytag="Ogre::Profiler::mTotalFrameTime" ></a><p> |
---|
| 1838 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1839 | <tr> |
---|
| 1840 | <td class="mdRow"> |
---|
| 1841 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1842 | <tr> |
---|
| 1843 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a469">ulong</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp19">Ogre::Profiler::mTotalFrameTime</a><code> [protected]</code> |
---|
| 1844 | </table> |
---|
| 1845 | </td> |
---|
| 1846 | </tr> |
---|
| 1847 | </table> |
---|
| 1848 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1849 | <tr> |
---|
| 1850 | <td> |
---|
| 1851 | |
---|
| 1852 | </td> |
---|
| 1853 | <td> |
---|
| 1854 | |
---|
| 1855 | <p> |
---|
| 1856 | The total time each frame takes. |
---|
| 1857 | <p> |
---|
| 1858 | |
---|
| 1859 | <p> |
---|
| 1860 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00394">394</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1861 | </tr> |
---|
| 1862 | </table> |
---|
| 1863 | <a class="anchor" name="Ogre_1_1Profilerp16" doxytag="Ogre::Profiler::mUpdateDisplayFrequency" ></a><p> |
---|
| 1864 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1865 | <tr> |
---|
| 1866 | <td class="mdRow"> |
---|
| 1867 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1868 | <tr> |
---|
| 1869 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a468">uint</a> <a class="el" href="classOgre_1_1Profiler.html#Ogre_1_1Profilerp16">Ogre::Profiler::mUpdateDisplayFrequency</a><code> [protected]</code> |
---|
| 1870 | </table> |
---|
| 1871 | </td> |
---|
| 1872 | </tr> |
---|
| 1873 | </table> |
---|
| 1874 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1875 | <tr> |
---|
| 1876 | <td> |
---|
| 1877 | |
---|
| 1878 | </td> |
---|
| 1879 | <td> |
---|
| 1880 | |
---|
| 1881 | <p> |
---|
| 1882 | The number of frames that must elapse before the current frame display is updated. |
---|
| 1883 | <p> |
---|
| 1884 | |
---|
| 1885 | <p> |
---|
| 1886 | Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00385">385</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> |
---|
| 1887 | </tr> |
---|
| 1888 | </table> |
---|
| 1889 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 1890 | <li><a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a></ul> |
---|
| 1891 | <hr> |
---|
| 1892 | <p> |
---|
| 1893 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 1894 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
| 1895 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
| 1896 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
| 1897 | <Work rdf:about=""> |
---|
| 1898 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 1899 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 1900 | </Work> |
---|
| 1901 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
| 1902 | |
---|
| 1903 | Last modified Sun Mar 12 14:41:48 2006 |
---|
| 1904 | </p> |
---|
| 1905 | </body> |
---|
| 1906 | </html> |
---|