TimeCounter
Complete API reference for TimeCounter, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Time
Component: no
public class TimeCounter
Constructors
| Signature | Description |
|---|---|
TimeCounter() | Executes TimeCounter and returns after the underlying engine call finishes. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
elapsedMilliseconds | float | get | Returns the elapsed time in milliseconds. |
elapsedSeconds | float | get | Returns the elapsed time in seconds. |
Methods
| Signature | Returns | Description |
|---|---|---|
start() | void | Starts the time counter. |
finish() | void | Finishes the time counter and calculates the elapsed time. |