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

Unified Diff: tracing/tracing/value/csv_builder.html

Issue 2742163002: Generalize delta statistics in Histogram. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | tracing/tracing/value/histogram.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/csv_builder.html
diff --git a/tracing/tracing/value/csv_builder.html b/tracing/tracing/value/csv_builder.html
index b9ae96845374e065a46aa7b3e84c23d3f0afef28..45a3377a145e02faf86bc87dce2ea0974018f219 100644
--- a/tracing/tracing/value/csv_builder.html
+++ b/tracing/tracing/value/csv_builder.html
@@ -69,14 +69,8 @@ tr.exportTo('tr.v', function() {
prepare_() {
for (let hist of this.histograms_) {
- for (let [name, option] of hist.summaryOptions) {
- if (name === 'percentile') {
- for (let percent of option) {
- this.statisticsNames_.add('pct_' + tr.v.percentToString(percent));
- }
- } else if (option) {
- this.statisticsNames_.add(name);
- }
+ for (const name of hist.statisticsNames) {
+ this.statisticsNames_.add(name);
}
let iteration = tr.v.d.TelemetryInfo.getFromHistogram(hist);
« no previous file with comments | « no previous file | tracing/tracing/value/histogram.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698