diff options
| author | Eric Fiselier <eric@efcs.ca> | 2018-11-15 19:22:53 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2018-11-15 19:22:53 +0000 |
| commit | 782a15a0d1412d42326016f8a9ce72c7c5d9693c (patch) | |
| tree | 5114409722bbd05dacbbe47499eedd2462251537 /libcxx/utils/google-benchmark/test/output_test.h | |
| parent | b144c7a6fbb86d6790e2ce4e3f0772ea3c15ca45 (diff) | |
| download | bcm5719-llvm-782a15a0d1412d42326016f8a9ce72c7c5d9693c.tar.gz bcm5719-llvm-782a15a0d1412d42326016f8a9ce72c7c5d9693c.zip | |
Upgrade Google Benchmark library to ToT
llvm-svn: 346984
Diffstat (limited to 'libcxx/utils/google-benchmark/test/output_test.h')
| -rw-r--r-- | libcxx/utils/google-benchmark/test/output_test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/utils/google-benchmark/test/output_test.h b/libcxx/utils/google-benchmark/test/output_test.h index 31a919991f7..9385761b214 100644 --- a/libcxx/utils/google-benchmark/test/output_test.h +++ b/libcxx/utils/google-benchmark/test/output_test.h @@ -60,6 +60,13 @@ int SetSubstitutions( // Run all output tests. void RunOutputTests(int argc, char* argv[]); +// Count the number of 'pat' substrings in the 'haystack' string. +int SubstrCnt(const std::string& haystack, const std::string& pat); + +// Run registered benchmarks with file reporter enabled, and return the content +// outputted by the file reporter. +std::string GetFileReporterOutput(int argc, char* argv[]); + // ========================================================================= // // ------------------------- Results checking ------------------------------ // // ========================================================================= // |

