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

Unified Diff: native_client_sdk/src/libraries/xray/xray_priv.h

Issue 19409003: Update Xray for PNaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add/remove files, change instrumentation ot __pnacl Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
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
« native_client_sdk/src/libraries/xray/xray.c ('K') | « native_client_sdk/src/libraries/xray/xray.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698