[PATCH] D31566: [Support] Make printAllJSONValues public, for custom output.
Graydon Hoare via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 11:16:46 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL299371: [Support] Make printAllJSONValues public, for custom output. (authored by graydon).
Changed prior to commit:
https://reviews.llvm.org/D31566?vs=93741&id=93893#toc
Repository:
rL LLVM
https://reviews.llvm.org/D31566
Files:
llvm/trunk/include/llvm/Support/Timer.h
Index: llvm/trunk/include/llvm/Support/Timer.h
===================================================================
--- llvm/trunk/include/llvm/Support/Timer.h
+++ llvm/trunk/include/llvm/Support/Timer.h
@@ -207,6 +207,9 @@
/// This static method prints all timers and clears them all out.
static void printAll(raw_ostream &OS);
+ /// Prints all timers as JSON key/value pairs, and clears them all out.
+ static const char *printAllJSONValues(raw_ostream &OS, const char *delim);
+
/// Ensure global timer group lists are initialized. This function is mostly
/// used by the Statistic code to influence the construction and destruction
/// order of the global timer lists.
@@ -221,7 +224,6 @@
void printJSONValue(raw_ostream &OS, const PrintRecord &R,
const char *suffix, double Value);
const char *printJSONValues(raw_ostream &OS, const char *delim);
- static const char *printAllJSONValues(raw_ostream &OS, const char *delim);
};
} // end namespace llvm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31566.93893.patch
Type: text/x-patch
Size: 1008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/be7bd448/attachment.bin>
More information about the llvm-commits
mailing list