| Index: tracing/tracing/metrics/system_health/long_tasks_metric.html
|
| diff --git a/tracing/tracing/metrics/system_health/long_tasks_metric.html b/tracing/tracing/metrics/system_health/long_tasks_metric.html
|
| index c0270d8c8da4f9081c1aedfdc55847b6024d35bc..9ddd6a7dfb73b68e8a598c2920cd0027b475eda5 100644
|
| --- a/tracing/tracing/metrics/system_health/long_tasks_metric.html
|
| +++ b/tracing/tracing/metrics/system_health/long_tasks_metric.html
|
| @@ -72,12 +72,17 @@ tr.exportTo('tr.metrics.sh', function() {
|
| /**
|
| * This metric directly measures long tasks on renderer main threads.
|
| * This metric requires only the 'toplevel' tracing category.
|
| + *
|
| + * @param {!tr.metrics.ValueSet} values
|
| + * @param {!tr.model.Model} model
|
| + * @param {!Object=} opt_options
|
| */
|
| - function longTasksMetric(values, model) {
|
| + function longTasksMetric(values, model, opt_options) {
|
| + var rangeOfInterest = opt_options ? opt_options.rangeOfInterest : undefined;
|
| var longTaskNumeric = LONG_TASK_NUMERIC_BUILDER.build();
|
| iterateRendererMainThreads(model, function(thread) {
|
| iterateLongTopLevelTasksOnThreadInRange(
|
| - thread, undefined, function(task) {
|
| + thread, rangeOfInterest, function(task) {
|
| longTaskNumeric.add(task.duration, task.stableId);
|
| });
|
| });
|
|
|