Profiler

public class
system.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

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.



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.

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).



toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: