|
Drag[en]gine Script Module DragonScript 1.32.1
|
Debug performance counter. More...
Public Member Functions | |
| bool | getAccumulate () |
| Counter accumulates not clearing results. | |
| String | getDetails () |
| Details to display. | |
| String | getLabel () |
| Label to display. | |
| DebugPerformanceCounter | new (String label) |
| Create performance counter. | |
| void | reset () |
| Reset called every frame update. | |
| void | setAccumulate (bool accumulate) |
| Set if counter accumulates not clearing results. | |
| void | setLabel (String label) |
| Set label to display. | |
| void | start () |
| Start timing measuring. | |
| void | stop () |
| Stop timing collecting result. | |
Protected Member Functions | |
| RuntimeMeter | getRuntimeMeter () |
| Runtime meter. | |
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.