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

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 336713005: [Blink] [PowerProfiler] Support accuracy level attribute for power data provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing! Created 6 years, 6 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
« no previous file with comments | « Source/devtools/front_end/sdk/PowerProfiler.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index 4ec1dce8cea0dd5b3e32713c79f4afa5ca5423ea..e48fad996badab3c850eb5cecbd9ffbcbf816d92 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -1106,6 +1106,7 @@ WebInspector.TimelinePanel.prototype = {
if (this._overviewControls[i] instanceof WebInspector.TimelinePowerOverview) {
var energy = this._overviewControls[i].calculateEnergy(startTime, endTime);
title += WebInspector.UIString(" Energy: %.2f Joules", energy);
+ title += WebInspector.UIString(" Accuracy: %s", WebInspector.powerProfiler.getAccuracyLevel());
break;
}
}
« no previous file with comments | « Source/devtools/front_end/sdk/PowerProfiler.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698