class PerformanceDomain
(source)
PerformanceDomain represents remote debugger protocol domain.
fun disable(): Single<ResponseFrame>
Disable collecting and reporting metrics. |
|
fun enable(): Single<ResponseFrame>
Enable collecting and reporting metrics. |
|
fun events(): Flowable<ProtocolEvent>
Returns flowable capturing all Performance domains events. |
|
fun getMetrics(): Single<GetMetricsResponse>
Retrieve current values of run-time metrics. |
|
fun metrics(): Flowable<MetricsEvent>
Current values of the metrics. |
|
fun metricsTimed(): Flowable<Timed<MetricsEvent>>
Current values of the metrics. |
|
fun setTimeDomain(input: SetTimeDomainRequest): Single<ResponseFrame>
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. |