Metrics

private class
system.metrics.Metrics

Description

Provides metrics about the Loom app during runtime.

API overview

Constructor

Metrics ()

Functions

Public functions

getManagedObjectCount ( classPath: String ): Number static native

Gets the number of Managed Native objects currently in memory for a specified classpath

getProcessMemoryUsage (): Number static native

Gets the process memory usage in bytes

Constructor

Metrics ()

Functions

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.

getManagedObjectCount ( classPath: String ): Number

static native

Gets the number of Managed Native objects currently in memory for a specified classpath.

Parameters

classPath: String The fully qualified classpath that represents a managed native class.

Returns

Number The number of managed native objects in memory that match the classPath.

getProcessMemoryUsage (): Number

static native

Gets the process memory usage in bytes.


Returns

Number The amount of memory used by the current process in bytes.

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.

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.

: