Drag[en]gine Script Module DragonScript
1.21
|
Debug performance counter. More...
Public Member Functions | |
bool | getAccumulate () |
Counter accumulates not clearing results. More... | |
String | getDetails () |
Details to display. More... | |
String | getLabel () |
Label to display. More... | |
DebugPerformanceCounter | new (String label) |
Create performance counter. More... | |
void | reset () |
Reset called every frame update. More... | |
void | setAccumulate (bool accumulate) |
Set if counter accumulates not clearing results. More... | |
void | setLabel (String label) |
Set label to display. More... | |
void | start () |
Start timing measuring. More... | |
void | stop () |
Stop timing collecting result. More... | |
Protected Member Functions | |
RuntimeMeter | getRuntimeMeter () |
Runtime meter. More... | |
Debug performance counter.
Uses a RuntimeMeter to collect timing samples. Displays the number of samples collected as well as the average time of all timing samples.
bool Dragengine.Debugging.DebugPerformanceCounter.getAccumulate | ( | ) |
Counter accumulates not clearing results.
String Dragengine.Debugging.DebugPerformanceCounter.getDetails | ( | ) |
Details to display.
Implements Dragengine.Debugging.DebugInformation.
String Dragengine.Debugging.DebugPerformanceCounter.getLabel | ( | ) |
Label to display.
Implements Dragengine.Debugging.DebugInformation.
|
protected |
Runtime meter.
DebugPerformanceCounter Dragengine.Debugging.DebugPerformanceCounter.new | ( | String | label | ) |
Create performance counter.
void Dragengine.Debugging.DebugPerformanceCounter.reset | ( | ) |
Reset called every frame update.
Implements Dragengine.Debugging.DebugInformation.
void Dragengine.Debugging.DebugPerformanceCounter.setAccumulate | ( | bool | accumulate | ) |
Set if counter accumulates not clearing results.
void Dragengine.Debugging.DebugPerformanceCounter.setLabel | ( | String | label | ) |
Set label to display.
void Dragengine.Debugging.DebugPerformanceCounter.start | ( | ) |
Start timing measuring.
void Dragengine.Debugging.DebugPerformanceCounter.stop | ( | ) |
Stop timing collecting result.