Profiler
Description
Profiler class for runtime timing metrics of execution.
API overview
Constructor
Profiler
()
Functions
Public functions
| disable (): Void |
static native Disable profiling |
| dump (): Void |
static native Dumps the current profiler data to the console immediately and resets the profiler |
| enable (): Void |
static native Enable profiling |
| isEnabled (): Boolean |
static native Returns true if profiling is enabled |
| reset (): Void |
static native Reset the profiling data and potentially dump the current data to the console (if dump has been called) |
Constructor
Profiler ()
Functions
dump (): Void
static native
Dumps the current profiler data to the console immediately and resets the profiler.
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |
getTypeName
(): String
Inherited from Object
native
Gets the type name of the Object.
Returns
| String | type name of the Object. |
reset (): Void
static native
Reset the profiling data and potentially dump the current data to the console (if dump has been called).