Expand description
The Performance domain.
Types, command parameters and event payloads for the Performance
domain. The method-name constants for the same domain are in
crate::methods.
Structs§
- Disable
Params - Disable collecting and reporting metrics.
- Enable
Params - Enable collecting and reporting metrics.
- GetMetrics
Params - Retrieve current values of run-time metrics.
- GetMetrics
Returns - What
Performance.getMetricsanswers with. - Metric
- Run-time execution metric.
- Metrics
Event - Current values of the metrics.
- SetTime
Domain Params - 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.
Enums§
- Enable
Time Domain - The values
timeDomainaccepts onenable. - SetTime
Domain Time Domain - The values
timeDomainaccepts onsetTimeDomain.