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

Unified Diff: apps/benchmark/run_args.h

Issue 1347063002: Teach `benchmark.mojo` to save the collected trace file to disk. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « apps/benchmark/benchmark_app.cc ('k') | apps/benchmark/run_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/benchmark/run_args.h
diff --git a/apps/benchmark/run_args.h b/apps/benchmark/run_args.h
index a9ada528d97c61fd528a6be19675de56c33d0677..73e83d6190bbf99074260191da2155f92cca2cb1 100644
--- a/apps/benchmark/run_args.h
+++ b/apps/benchmark/run_args.h
@@ -9,6 +9,7 @@
#include <vector>
#include "apps/benchmark/measurements.h"
+#include "base/files/file_path.h"
#include "base/time/time.h"
namespace benchmark {
@@ -18,6 +19,8 @@ struct RunArgs {
std::string app;
base::TimeDelta duration;
std::vector<Measurement> measurements;
+ bool write_output_file;
+ base::FilePath output_file_path;
RunArgs();
~RunArgs();
« no previous file with comments | « apps/benchmark/benchmark_app.cc ('k') | apps/benchmark/run_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698