PerformanceDomain

(undocumented in the protocol definition)

Official doc

Functions

Link copied to clipboard
suspend fun disable(): DisableResponse

Disable collecting and reporting metrics.

Link copied to clipboard
inline suspend fun enable(optionalArgs: EnableRequest.Builder.() -> Unit = {}): EnableResponse
suspend fun enable(input: EnableRequest): EnableResponse

Enable collecting and reporting metrics.

Link copied to clipboard

Subscribes to all events related to this domain.

Link copied to clipboard

Retrieve current values of run-time metrics.

Link copied to clipboard
Link copied to clipboard

Current values of the metrics.

Link copied to clipboard

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.