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

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

Issue 2859353003: [BattOr] Reduce StartTracing time by about four seconds.
Patch Set: Fixed test cases 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
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 READ_SET_GAIN_ACK, 105 READ_SET_GAIN_ACK,
106 SEND_START_TRACING, 106 SEND_START_TRACING,
107 READ_START_TRACING_ACK, 107 READ_START_TRACING_ACK,
108 108
109 // Actions required for stopping tracing. 109 // Actions required for stopping tracing.
110 SEND_EEPROM_REQUEST, 110 SEND_EEPROM_REQUEST,
111 READ_EEPROM, 111 READ_EEPROM,
112 SEND_SAMPLES_REQUEST, 112 SEND_SAMPLES_REQUEST,
113 READ_CALIBRATION_FRAME, 113 READ_CALIBRATION_FRAME,
114 READ_DATA_FRAME, 114 READ_DATA_FRAME,
115 RESET,
115 116
116 // Actions required for recording a clock sync marker. 117 // Actions required for recording a clock sync marker.
117 SEND_CURRENT_SAMPLE_REQUEST, 118 SEND_CURRENT_SAMPLE_REQUEST,
118 READ_CURRENT_SAMPLE, 119 READ_CURRENT_SAMPLE,
119 120
120 // Actions required for returning firmware git hash. 121 // Actions required for returning firmware git hash.
121 SEND_GIT_HASH_REQUEST, 122 SEND_GIT_HASH_REQUEST,
122 READ_GIT_HASH, 123 READ_GIT_HASH,
123 }; 124 };
124 125
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 194
194 // The git hash of the BattOr firmware. 195 // The git hash of the BattOr firmware.
195 std::string firmware_git_hash_; 196 std::string firmware_git_hash_;
196 197
197 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); 198 DISALLOW_COPY_AND_ASSIGN(BattOrAgent);
198 }; 199 };
199 200
200 } // namespace battor 201 } // namespace battor
201 202
202 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 203 #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_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698