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