-
public final class PerformanceDomain
-
-
Method Summary
Modifier and Type Method Description final Flow<PerformanceEvent>events()Subscribes to all events related to this domain. final Flow<PerformanceEvent.MetricsEvent>metrics()Current values of the metrics. final Unitdisable()Disable collecting and reporting metrics. final Unitenable(EnableRequest input)Enable collecting and reporting metrics. final UnitsetTimeDomain(SetTimeDomainRequest input)Sets time domain to use for collecting and reporting duration metrics. final GetMetricsResponsegetMetrics()Retrieve current values of run-time metrics. -
-
Method Detail
-
events
final Flow<PerformanceEvent> events()
Subscribes to all events related to this domain.
-
metrics
final Flow<PerformanceEvent.MetricsEvent> metrics()
Current values of the metrics.
-
enable
final Unit enable(EnableRequest input)
Enable collecting and reporting metrics.
-
setTimeDomain
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") final Unit setTimeDomain(SetTimeDomainRequest input)
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.
-
getMetrics
final GetMetricsResponse getMetrics()
Retrieve current values of run-time metrics.
-
-
-
-