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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h

Issue 2258133002: [scheduler] Implement time-based cpu throttling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use double instead of base::TimeTicks Created 4 years, 3 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: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 17c31580f266a8a390531897b224ecd63ce9900b..da5ef2160a66d9143e4d150d205432849a50bc4d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -35,7 +35,10 @@ public:
void didProcessTask() override;
// scheduler::TaskTimeObserver implementation
- void ReportTaskTime(double startTime, double endTime) override;
+ void ReportTaskTime(
+ scheduler::TaskQueue*,
Sami 2016/09/12 17:49:09 Could you make this const?
altimin 2016/09/14 11:23:14 Not easily — we may need to disable this queue whe
Sami 2016/09/14 13:50:33 I see. Let's keep this non-const then.
+ double startTime,
+ double endTime) override;
private:
Member<InspectedFrames> m_inspectedFrames;

Powered by Google App Engine
This is Rietveld 408576698