Function metrics::set_metric
source ยท pub(crate) fn set_metric<U: ProgressiveWebMetric>(
pwm: &U,
metadata: Option<TimerMetadata>,
metric_type: ProgressiveWebMetricType,
category: ProfilerCategory,
attr: &Cell<Option<CrossProcessInstant>>,
metric_time: Option<CrossProcessInstant>,
url: &ServoUrl,
)