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

Unified Diff: services/tracing/tracing_app.cc

Issue 1665823003: Only enable the Dart timeline for benchmarks (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « services/dart/dart_tracing.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/tracing_app.cc
diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
index 62cec7017db3240cae09deb5ffe3e03eb823cac1..93b12b06934a4342f1964010d2caf50309f3265a 100644
--- a/services/tracing/tracing_app.cc
+++ b/services/tracing/tracing_app.cc
@@ -81,7 +81,7 @@ void TracingApp::StopAndFlush() {
// support this directly we do our own MojoWaitMany over the handles and read
// individual messages until all are closed or our absolute deadline has
// elapsed.
- static const MojoDeadline kTimeToWaitMicros = 5000 * 1000;
+ static const MojoDeadline kTimeToWaitMicros = 5 * 1000000;
MojoTimeTicks end = MojoGetTimeTicksNow() + kTimeToWaitMicros;
while (!recorder_impls_.empty()) {
« no previous file with comments | « services/dart/dart_tracing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698