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

Unified Diff: apps/benchmark/run_args.cc

Issue 1316163003: Support duration events in `benchmark.mojo`. (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/measurements_unittest.cc ('k') | mojo/tools/data/benchmarks » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/benchmark/run_args.cc
diff --git a/apps/benchmark/run_args.cc b/apps/benchmark/run_args.cc
index 6767c3e97de8a42913cf3a9b692aaef6c4230ea6..1791470bf8cd4baa692ce3b878f2701a89f4b50f 100644
--- a/apps/benchmark/run_args.cc
+++ b/apps/benchmark/run_args.cc
@@ -34,7 +34,7 @@ bool GetMeasurement(const std::string& measurement_spec, Measurement* result) {
return false;
}
- result->target_event.category = parts[1];
+ result->target_event.categories = parts[1];
result->target_event.name = parts[2];
result->spec = measurement_spec;
return true;
« no previous file with comments | « apps/benchmark/measurements_unittest.cc ('k') | mojo/tools/data/benchmarks » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698