|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Simple performance counter controller. More...
Public Member Functions | |
| void | enable (final boolean enable) |
| Enable or disable performance counter. More... | |
| void | clear () |
| Clear performance counter. More... | |
| long | getTotalDuration () |
| Return the total duration in nanoseconds, covering all sub-counter. More... | |
| void | print (final PrintStream out) |
| Print performance counter. More... | |
Simple performance counter controller.
Implementation is expected to utilize nanosecond counter since module start, e.g. Clock#currentNanos().
Definition at line 38 of file PerfCounterCtrl.java.
| void com.jogamp.common.util.PerfCounterCtrl.clear | ( | ) |
Clear performance counter.
| void com.jogamp.common.util.PerfCounterCtrl.enable | ( | final boolean | enable | ) |
Enable or disable performance counter.
| long com.jogamp.common.util.PerfCounterCtrl.getTotalDuration | ( | ) |
Return the total duration in nanoseconds, covering all sub-counter.
| void com.jogamp.common.util.PerfCounterCtrl.print | ( | final PrintStream | out | ) |
Print performance counter.