Performance
Types
Functions
Link copied to clipboard
Disable collecting and reporting metrics.
Link copied to clipboard
Enable collecting and reporting metrics.
Link copied to clipboard
Retrieve current values of run-time metrics.
Link copied to clipboard
suspend fun setTimeDomain(args: Performance.SetTimeDomainParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.