[PATCH] D31909: [XRay][compiler-rt] Add support for TSC emulation for x86_64 to xray_fdr_logging.cc

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 20:43:57 PDT 2017


dberris accepted this revision.
dberris added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/xray/xray_fdr_logging.cc:199
+    TSC = __xray::readTSC(CPU);
+  } else {
+    timespec TS;
----------------
Probably want to put a `//FIXME: ` here indicating that this needs some refactoring later on.


https://reviews.llvm.org/D31909





More information about the llvm-commits mailing list