diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-08-02 15:12:43 -0600 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-08-02 15:12:43 -0600 |
commit | 44128d87d2846fc20d540ef41eda6da9ffbb6aba (patch) | |
tree | 5464a5accffa01f6401ab603a6a45fa0361fa334 /src/colorprint.h | |
parent | f68e64c60a6b20a1f50046df58111107a09fd6a3 (diff) | |
download | google-benchmark-44128d87d2846fc20d540ef41eda6da9ffbb6aba.tar.gz |
Add --benchmark_out=<filename> and --benchmark_out_format=<format> options.
These options allow you to write the output of a benchmark to the specified
file and with the specified format. The goal of this change is to help support
tooling.
Diffstat (limited to 'src/colorprint.h')
-rw-r--r-- | src/colorprint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/colorprint.h b/src/colorprint.h index 2b3c082..d924795 100644 --- a/src/colorprint.h +++ b/src/colorprint.h @@ -20,6 +20,7 @@ enum LogColor { std::string FormatString(const char* msg, va_list args); std::string FormatString(const char* msg, ...); +void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, va_list args); void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, ...); } // end namespace benchmark |