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

Side by Side Diff: content/browser/tracing/background_tracing_manager_impl.cc

Issue 1981823003: Add deep report for BENCHMARK_MEMORY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/tracing/background_tracing_manager_impl.h" 5 #include "content/browser/tracing/background_tracing_manager_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: 511 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU:
512 return "benchmark,toplevel,gpu"; 512 return "benchmark,toplevel,gpu";
513 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: 513 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC:
514 return "benchmark,toplevel,ipc"; 514 return "benchmark,toplevel,ipc";
515 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: 515 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP:
516 return "benchmark,toplevel,startup,disabled-by-default-file," 516 return "benchmark,toplevel,startup,disabled-by-default-file,"
517 "disabled-by-default-toplevel.flow," 517 "disabled-by-default-toplevel.flow,"
518 "disabled-by-default-ipc.flow"; 518 "disabled-by-default-ipc.flow";
519 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_BLINK_GC: 519 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_BLINK_GC:
520 return "blink_gc,disabled-by-default-blink_gc"; 520 return "blink_gc,disabled-by-default-blink_gc";
521 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_MEMORY:
522 return "disabled-by-default-memory-infra";
ssid 2016/05/25 02:02:13 "-*,disabled-by-default-memory-infra" should exclu
521 case BackgroundTracingConfigImpl::CategoryPreset:: 523 case BackgroundTracingConfigImpl::CategoryPreset::
522 BENCHMARK_EXECUTION_METRIC: 524 BENCHMARK_EXECUTION_METRIC:
523 return "blink.console,v8"; 525 return "blink.console,v8";
524 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: 526 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE:
525 return "blink_style"; 527 return "blink_style";
526 case BackgroundTracingConfigImpl::CategoryPreset::CATEGORY_PRESET_UNSET: 528 case BackgroundTracingConfigImpl::CategoryPreset::CATEGORY_PRESET_UNSET:
527 NOTREACHED(); 529 NOTREACHED();
528 } 530 }
529 NOTREACHED(); 531 NOTREACHED();
530 return ""; 532 return "";
531 } 533 }
532 534
533 } // namspace content 535 } // namspace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698