summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/google-benchmark/test/output_test.h
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-11-15 19:22:53 +0000
committerEric Fiselier <eric@efcs.ca>2018-11-15 19:22:53 +0000
commit782a15a0d1412d42326016f8a9ce72c7c5d9693c (patch)
tree5114409722bbd05dacbbe47499eedd2462251537 /libcxx/utils/google-benchmark/test/output_test.h
parentb144c7a6fbb86d6790e2ce4e3f0772ea3c15ca45 (diff)
downloadbcm5719-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.h7
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 ------------------------------ //
// ========================================================================= //
OpenPOWER on IntegriCloud