From d2c50408d42f718c305a46c9cc6503d9156ea4d9 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Tue, 11 Sep 2018 06:36:51 +0000 Subject: [XRay] Add TSC to NewCPUId Records Summary: This more correctly reflects the data written by the FDR mode runtime. This is a continuation of the work in D50441. Reviewers: mboerger, eizan Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D51911 llvm-svn: 341905 --- llvm/lib/XRay/RecordPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/XRay/RecordPrinter.cpp') diff --git a/llvm/lib/XRay/RecordPrinter.cpp b/llvm/lib/XRay/RecordPrinter.cpp index d2943e4bad3..09b25ddba25 100644 --- a/llvm/lib/XRay/RecordPrinter.cpp +++ b/llvm/lib/XRay/RecordPrinter.cpp @@ -25,7 +25,7 @@ Error RecordPrinter::visit(WallclockRecord &R) { } Error RecordPrinter::visit(NewCPUIDRecord &R) { - OS << formatv("", R.cpuid()) << Delim; + OS << formatv("", R.cpuid(), R.tsc()) << Delim; return Error::success(); } -- cgit v1.2.3