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

Unified Diff: apps/benchmark/run_args.cc

Issue 1391013005: Benchmark: `--save-all-traces` argument (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: benchmark Created 5 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: apps/benchmark/run_args.cc
diff --git a/apps/benchmark/run_args.cc b/apps/benchmark/run_args.cc
index fdb36645e94887d75226273d8fa6188afe949e51..261c6985bf7f85a620dc688d80531d9df8cf4a66 100644
--- a/apps/benchmark/run_args.cc
+++ b/apps/benchmark/run_args.cc
@@ -104,6 +104,8 @@ bool GetRunArgs(const std::vector<std::string>& input_args, RunArgs* result) {
}
result->duration = base::TimeDelta::FromSeconds(duration_int);
+ result->trace_all_categories = command_line.HasSwitch("trace-all");
+
result->write_output_file = false;
if (command_line.HasSwitch("trace-output")) {
result->write_output_file = true;

Powered by Google App Engine
This is Rietveld 408576698