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

Side by Side Diff: tools/battor_agent/battor_agent.h

Issue 2859353003: [BattOr] Reduce StartTracing time by about four seconds.
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/battor_agent/battor_agent.cc » ('j') | tools/battor_agent/battor_agent.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
6 #define TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 6 #define TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 READ_SET_GAIN_ACK, 104 READ_SET_GAIN_ACK,
105 SEND_START_TRACING, 105 SEND_START_TRACING,
106 READ_START_TRACING_ACK, 106 READ_START_TRACING_ACK,
107 107
108 // Actions required for stopping tracing. 108 // Actions required for stopping tracing.
109 SEND_EEPROM_REQUEST, 109 SEND_EEPROM_REQUEST,
110 READ_EEPROM, 110 READ_EEPROM,
111 SEND_SAMPLES_REQUEST, 111 SEND_SAMPLES_REQUEST,
112 READ_CALIBRATION_FRAME, 112 READ_CALIBRATION_FRAME,
113 READ_DATA_FRAME, 113 READ_DATA_FRAME,
114 RESET,
114 115
115 // Actions required for recording a clock sync marker. 116 // Actions required for recording a clock sync marker.
116 SEND_CURRENT_SAMPLE_REQUEST, 117 SEND_CURRENT_SAMPLE_REQUEST,
117 READ_CURRENT_SAMPLE, 118 READ_CURRENT_SAMPLE,
118 119
119 // Actions required for returning firmware git hash. 120 // Actions required for returning firmware git hash.
120 SEND_GIT_HASH_REQUEST, 121 SEND_GIT_HASH_REQUEST,
121 READ_GIT_HASH, 122 READ_GIT_HASH,
122 }; 123 };
123 124
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 // The git hash of the BattOr firmware. 196 // The git hash of the BattOr firmware.
196 std::string firmware_git_hash_; 197 std::string firmware_git_hash_;
197 198
198 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); 199 DISALLOW_COPY_AND_ASSIGN(BattOrAgent);
199 }; 200 };
200 201
201 } // namespace battor 202 } // namespace battor
202 203
203 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 204 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | tools/battor_agent/battor_agent.cc » ('j') | tools/battor_agent/battor_agent.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698