OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 // As can be seen in the example, a multi-value-column is specified with the | 21 // As can be seen in the example, a multi-value-column is specified with the |
22 // name followed the number of elements it contains. This followed by | 22 // name followed the number of elements it contains. This followed by |
23 // number of elements - 1 empty columns. | 23 // number of elements - 1 empty columns. |
24 // | 24 // |
25 // Without multi-value-columns this format can be natively by Matlab. With | 25 // Without multi-value-columns this format can be natively by Matlab. With |
26 // multi-value-columns a small Matlab script is needed, available at | 26 // multi-value-columns a small Matlab script is needed, available at |
27 // trunk/tools/matlab/parseLog.m. | 27 // trunk/tools/matlab/parseLog.m. |
28 // | 28 // |
29 // Table names and column names are case sensitive. | 29 // Table names and column names are case sensitive. |
30 | 30 |
31 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_H_ | 31 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_H_ |
32 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_H_ | 32 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_H_ |
33 | 33 |
34 #include <string> | 34 #include <string> |
35 | 35 |
36 #include "webrtc/system_wrappers/include/data_log_impl.h" | 36 #include "webrtc/system_wrappers/include/data_log_impl.h" |
37 | 37 |
38 namespace webrtc { | 38 namespace webrtc { |
39 | 39 |
40 class DataLog { | 40 class DataLog { |
41 public: | 41 public: |
42 // Creates a log which uses a separate thread (referred to as the file | 42 // Creates a log which uses a separate thread (referred to as the file |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 // For the table with name table_name: Writes the current row to file. | 111 // For the table with name table_name: Writes the current row to file. |
112 // Starts a new empty row. | 112 // Starts a new empty row. |
113 // table_name is treated in a case-sensitive way. | 113 // table_name is treated in a case-sensitive way. |
114 static int NextRow(const std::string& table_name); | 114 static int NextRow(const std::string& table_name); |
115 }; | 115 }; |
116 | 116 |
117 } // namespace webrtc | 117 } // namespace webrtc |
118 | 118 |
119 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_H_ | 119 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_H_ |
OLD | NEW |