Class CProfileViewer: Manage and display profiling tables.
More...
#include <ProfileViewer.h>
Class CProfileViewer: Manage and display profiling tables.
◆ CProfileViewer()
CProfileViewer::CProfileViewer |
( |
| ) |
|
◆ ~CProfileViewer()
CProfileViewer::~CProfileViewer |
( |
| ) |
|
◆ AddRootTable()
AddRootTable: Add a new profile table as a root table (i.e.
the tables that you cycle through via the profile hotkey).
- Note
- Tables added via this function are automatically removed from the list of root tables when they are deleted.
- Parameters
-
table | This table is added as a root table. |
front | If true then the table will be the new first in the list, else it will be the last. |
◆ Input()
Input: Filter and handle any input events that the profile display is interested in.
In particular, this function handles enable/disable of the profile display as well as navigating the information tree.
- Parameters
-
- Returns
- IN_PASS or IN_HANDLED depending on whether the event relates to the profiling display.
◆ InputThunk()
InputThunk: Delegate to the singleton's Input() member function if the singleton has been initialized.
This allows our input handler to be installed via in_add_handler like a normal, global function input handler.
◆ RenderProfile()
void CProfileViewer::RenderProfile |
( |
CCanvas2D & |
canvas | ) |
|
RenderProfile: Render the profile display using OpenGL if the user has enabled it.
◆ SaveToFile()
void CProfileViewer::SaveToFile |
( |
| ) |
|
SaveToFile: Save the current profiler data (for all profile tables) to a file in the 'logs' directory.
◆ ShowTable()
void CProfileViewer::ShowTable |
( |
const CStr & |
table | ) |
|
ShowTable: Set the named profile table to be the displayed one.
If it is not found, no profile is displayed.
- Parameters
-
◆ AbstractProfileTable
The documentation for this class was generated from the following files: