summaryrefslogtreecommitdiffstats
path: root/tools/battor_agent
diff options
context:
space:
mode:
authorcharliea <charliea@chromium.org>2016-03-21 07:35:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-21 14:36:47 +0000
commit54e1ece8abfcf5f93f05ba64e06c89f3b1f50d6c (patch)
treeaea3c6a31698799c472ed4085a563b7f7783ed4e /tools/battor_agent
parent384572aeb4577efc40a31c33052e394548a94e72 (diff)
downloadchromium_src-54e1ece8abfcf5f93f05ba64e06c89f3b1f50d6c.zip
chromium_src-54e1ece8abfcf5f93f05ba64e06c89f3b1f50d6c.tar.gz
chromium_src-54e1ece8abfcf5f93f05ba64e06c89f3b1f50d6c.tar.bz2
battor agent: Increases required time after clock sync to 100ms
Sometimes the 50ms that was currently allotted wasn't enough for the sample that the clock sync marker took place at to make it into the trace. BUG=596187 Review URL: https://codereview.chromium.org/1815383002 Cr-Commit-Position: refs/heads/master@{#382281}
Diffstat (limited to 'tools/battor_agent')
-rw-r--r--tools/battor_agent/battor_agent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/battor_agent/battor_agent.cc b/tools/battor_agent/battor_agent.cc
index 53ed768..05f47873 100644
--- a/tools/battor_agent/battor_agent.cc
+++ b/tools/battor_agent/battor_agent.cc
@@ -28,7 +28,7 @@ const uint8_t kReadRetryDelayMilliseconds = 1;
// The amount of time we need to wait after recording a clock sync marker in
// order to ensure that the sample we synced to doesn't get thrown out.
-const uint8_t kStopTracingClockSyncDelayMilliseconds = 50;
+const uint8_t kStopTracingClockSyncDelayMilliseconds = 100;
// Returns true if the specified vector of bytes decodes to a message that is an
// ack for the specified control message type.