| 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..8b61e76903dd0ca31109f7bb64bd269ee5c41788 100644
|
| --- a/native_client_sdk/src/libraries/xray/xray_priv.h
|
| +++ b/native_client_sdk/src/libraries/xray/xray_priv.h
|
| @@ -182,6 +182,21 @@ XRAY_NO_INSTRUMENT void XRayEnableCapture(struct XRayTraceCapture* capture);
|
| XRAY_NO_INSTRUMENT void XRayLoadMapfile(
|
| struct XRayTraceCapture* capture, const char* mapfilename);
|
|
|
| +struct XRayTimestampPair {
|
| + uint64_t xray; /* internal xray timestamp */
|
| + int64_t pepper; /* corresponding timestamp from PPAPI interface */
|
| +};
|
| +
|
| +#ifndef XRAY_DISABLE_BROWSER_INTEGRATION
|
| +XRAY_NO_INSTRUMENT void XRayGetTSC(uint64_t* tsc);
|
| +XRAY_NO_INSTRUMENT int32_t XRayGetSavedThreadID(
|
| + struct XRayTraceCapture* capture);
|
| +XRAY_NO_INSTRUMENT struct XRayTimestampPair* XRayGetTimestamp(
|
| + struct XRayTraceCapture* capture, int frame, bool end);
|
| +XRAY_NO_INSTRUMENT struct XRayTimestampPair XRayGenerateTimestampsNow(void);
|
| +#endif /* XRAY_DISABLE_BROWSER_INTEGRATION */
|
| +
|
| +
|
| #endif /* defined(XRAY) */
|
|
|
| #ifdef __cplusplus
|
|
|