Profiler Class Reference
#include <Profiler.h>
![](../class_profiler.png)
# Static Public Member Functions | |
static void | initialize () |
Initialize the profiler. | |
static void | reset () |
Reset the profiler's state. | |
static void | start () |
Start a new cycle of profiling. | |
static void | end () |
End the current profiling cycle. | |
static void | lap (uint32 lapType, const char *processName) |
# Private Attributes | |
VirtualList | laps |
Laps during the current profiling cycle. | |
float | timeProportion |
float | lastCycleTotalTime |
float | totalTime |
uint32 | interruptFlags |
uint32 | timePerGameFrameInMS |
uint32 | cycles |
uint16 | timerCounter |
uint16 | previousTimerCounter |
uint8 | currentProfilingProcess |
bool | started |
bool | initialized |
bool | printedProcessesNames |
uint8 | skipFrames |
uint8 | lastLapIndex |
bool | xpend |
bool | playedMIDISounds |
bool | processedCommunications |
![]() | |
VirtualList | events |
List of registered events. | |
int8 | eventFirings |
Counter that keeps track of the number of fired events to prevent race conditions in nested firings. |
# Additional Inherited Members | |
![]() | |
void | constructor () |
Class' constructor. | |
void | destructor () |
Class' destructor. | |
void | addEventListener (ListenerObject listener, uint16 eventCode) |
void | removeEventListener (ListenerObject listener, uint16 eventCode) |
void | removeEventListeners (uint16 eventCode) |
void | removeAllEventListeners () |
Remove all listener objects. | |
bool | hasActiveEventListeners () |
void | fireEvent (uint16 eventCode) |
void | sendMessageTo (ListenerObject receiver, uint32 message, uint32 delay, uint32 randomDelay) |
void | sendMessageToSelf (uint32 message, uint32 delay, uint32 randomDelay) |
void | discardAllMessages () |
Discard all messages, both to be sent and to be received. | |
void | discardMessages (uint32 message) |
virtual bool | onEvent (ListenerObject eventFirer, uint16 eventCode) |
virtual bool | handleMessage (Telegram telegram) |
# Detailed Description
Class SoundTest
Inherits from ListenerObject
Implements profiler that permits to measure how much time a process takes to complete.
Definition at line 43 of file Profiler.h.
# Member Function Documentation
# end()
|
static |
End the current profiling cycle.
# initialize()
|
static |
Initialize the profiler.
# lap()
|
static |
Register a lap during the current profiling cycle.
- Parameters
-
lapType Type of lap to record processName Name of the process during the lap
# reset()
|
static |
Reset the profiler's state.
# start()
|
static |
Start a new cycle of profiling.
# Member Data Documentation
# currentProfilingProcess
|
private |
Definition at line 56 of file Profiler.h.
# cycles
|
private |
Definition at line 53 of file Profiler.h.
# initialized
|
private |
Definition at line 58 of file Profiler.h.
# interruptFlags
|
private |
Definition at line 51 of file Profiler.h.
# laps
|
private |
Laps during the current profiling cycle.
Definition at line 46 of file Profiler.h.
# lastCycleTotalTime
|
private |
Definition at line 49 of file Profiler.h.
# lastLapIndex
|
private |
Definition at line 61 of file Profiler.h.
# playedMIDISounds
|
private |
Definition at line 63 of file Profiler.h.
# previousTimerCounter
|
private |
Definition at line 55 of file Profiler.h.
# printedProcessesNames
|
private |
Definition at line 59 of file Profiler.h.
# processedCommunications
|
private |
Definition at line 64 of file Profiler.h.
# skipFrames
|
private |
Definition at line 60 of file Profiler.h.
# started
|
private |
Definition at line 57 of file Profiler.h.
# timePerGameFrameInMS
|
private |
Definition at line 52 of file Profiler.h.
# timeProportion
|
private |
Definition at line 48 of file Profiler.h.
# timerCounter
|
private |
Definition at line 54 of file Profiler.h.
# totalTime
|
private |
Definition at line 50 of file Profiler.h.
# xpend
|
private |
Definition at line 62 of file Profiler.h.
The documentation for this class was generated from the following file:
- VUEngine-Core/source/Debugging/Profiler/Profiler.h