Profiler
Description
Profiler class for runtime timing metrics of execution.
API overview
Constructor
Profiler
()
Functions
Public functions
dump (): Void |
static native Dumps the current profiler data to the console immediately and resets the profiler |
enable ( value: Boolean = true ): Void |
static native Enable of disable profiling |
isEnabled (): Boolean |
static native Whether profiling is enabled or not |
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.
enable ( value: Boolean = true ): Void
static native
Enable of disable profiling.
Parameters
value: Boolean = true |
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).