Chromium Code Reviews| Index: native_client_sdk/src/libraries/xray/xray_priv.h |
| diff --git a/native_client_sdk/src/libraries/xray/xray_priv.h b/native_client_sdk/src/libraries/xray/xray_priv.h |
| index ae4de0cda9c0d1a0ace6558adce063c9af31aad6..d2af8a871b00956555a9ec73e151684bed0ba22d 100644 |
| --- a/native_client_sdk/src/libraries/xray/xray_priv.h |
| +++ b/native_client_sdk/src/libraries/xray/xray_priv.h |
| @@ -182,6 +182,19 @@ XRAY_NO_INSTRUMENT void XRayEnableCapture(struct XRayTraceCapture* capture); |
| XRAY_NO_INSTRUMENT void XRayLoadMapfile( |
| struct XRayTraceCapture* capture, const char* mapfilename); |
| +struct XrayTimestampPair { |
|
nfullagar1
2013/07/17 00:53:19
more consistent camel case - XRayTimeStampPair
|
| + uint64_t xray; |
| + int64_t pepper; |
| +}; |
| + |
| +#ifndef XRAY_NOPEPPER |
| +XRAY_NO_INSTRUMENT void XRayGetTSC(uint64_t* tsc); |
| +XRAY_NO_INSTRUMENT struct XrayTimestampPair* XRayGetStartTimestamp( |
| + struct XRayTraceCapture* capture); |
| +XRAY_NO_INSTRUMENT struct XrayTimestampPair XRayPepperBeginCalibration(void); |
| +#endif /* XRAY_NOPEPPER */ |
| + |
| + |
| #endif /* defined(XRAY) */ |
| #ifdef __cplusplus |