Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Unified Diff: base/task_scheduler/scheduler_worker_pool_impl.h

Issue 2420973002: Plumb Task Scheduler Histograms to the Task Scheduler Internals Page (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/task_scheduler/scheduler_worker_pool_impl.h
diff --git a/base/task_scheduler/scheduler_worker_pool_impl.h b/base/task_scheduler/scheduler_worker_pool_impl.h
index a621f797a53473b2096170a07689e456d5c3f2de..4bd88001564ca8a9cc66f0935bdd6f2fc849b65e 100644
--- a/base/task_scheduler/scheduler_worker_pool_impl.h
+++ b/base/task_scheduler/scheduler_worker_pool_impl.h
@@ -94,7 +94,11 @@ class BASE_EXPORT SchedulerWorkerPoolImpl : public SchedulerWorkerPool {
scoped_refptr<Sequence> sequence,
SchedulerWorker* worker) override;
- const HistogramBase* num_tasks_between_waits_histogram_for_testing() const {
+ const HistogramBase* detach_duration_histogram() const {
+ return detach_duration_histogram_;
+ }
+
+ const HistogramBase* num_tasks_between_waits_histogram() const {
return num_tasks_between_waits_histogram_;
}
« no previous file with comments | « no previous file | base/task_scheduler/scheduler_worker_pool_impl_unittest.cc » ('j') | base/task_scheduler/task_scheduler_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698