OLD | NEW |
---|---|
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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 | 5 |
6 | 6 |
7 /* XRay -- a simple profiler for Native Client */ | 7 /* XRay -- a simple profiler for Native Client */ |
8 | 8 |
9 /* This header file is the private internal interface. */ | 9 /* This header file is the private internal interface. */ |
10 | 10 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 XRAY_NO_INSTRUMENT void XRayFree(void* data); | 175 XRAY_NO_INSTRUMENT void XRayFree(void* data); |
176 | 176 |
177 XRAY_NO_INSTRUMENT void XRaySetMaxStackDepth( | 177 XRAY_NO_INSTRUMENT void XRaySetMaxStackDepth( |
178 struct XRayTraceCapture* capture, int stack_depth); | 178 struct XRayTraceCapture* capture, int stack_depth); |
179 XRAY_NO_INSTRUMENT int XRayGetLastFrame(struct XRayTraceCapture* capture); | 179 XRAY_NO_INSTRUMENT int XRayGetLastFrame(struct XRayTraceCapture* capture); |
180 XRAY_NO_INSTRUMENT void XRayDisableCapture(struct XRayTraceCapture* capture); | 180 XRAY_NO_INSTRUMENT void XRayDisableCapture(struct XRayTraceCapture* capture); |
181 XRAY_NO_INSTRUMENT void XRayEnableCapture(struct XRayTraceCapture* capture); | 181 XRAY_NO_INSTRUMENT void XRayEnableCapture(struct XRayTraceCapture* capture); |
182 XRAY_NO_INSTRUMENT void XRayLoadMapfile( | 182 XRAY_NO_INSTRUMENT void XRayLoadMapfile( |
183 struct XRayTraceCapture* capture, const char* mapfilename); | 183 struct XRayTraceCapture* capture, const char* mapfilename); |
184 | 184 |
185 struct XrayTimestampPair { | |
nfullagar1
2013/07/17 00:53:19
more consistent camel case - XRayTimeStampPair
| |
186 uint64_t xray; | |
187 int64_t pepper; | |
188 }; | |
189 | |
190 #ifndef XRAY_NOPEPPER | |
191 XRAY_NO_INSTRUMENT void XRayGetTSC(uint64_t* tsc); | |
192 XRAY_NO_INSTRUMENT struct XrayTimestampPair* XRayGetStartTimestamp( | |
193 struct XRayTraceCapture* capture); | |
194 XRAY_NO_INSTRUMENT struct XrayTimestampPair XRayPepperBeginCalibration(void); | |
195 #endif /* XRAY_NOPEPPER */ | |
196 | |
197 | |
185 #endif /* defined(XRAY) */ | 198 #endif /* defined(XRAY) */ |
186 | 199 |
187 #ifdef __cplusplus | 200 #ifdef __cplusplus |
188 } | 201 } |
189 #endif | 202 #endif |
190 | 203 |
191 #endif /* LIBRARIES_XRAY_XRAY_PRIV_H_ */ | 204 #endif /* LIBRARIES_XRAY_XRAY_PRIV_H_ */ |
OLD | NEW |