Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: mojo/public/cpp/test_support/lib/test_utils.cc

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/system/tests/BUILD.gn ('k') | mojo/public/cpp/test_support/test_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/test_support/lib/test_utils.cc
diff --git a/mojo/public/cpp/test_support/lib/test_utils.cc b/mojo/public/cpp/test_support/lib/test_utils.cc
index d489cf766da47aedb6aff1e7aa3c4f22cf4d482e..481fd6ee61e1c1d0a586e00b01c4aff4d0ebc475 100644
--- a/mojo/public/cpp/test_support/lib/test_utils.cc
+++ b/mojo/public/cpp/test_support/lib/test_utils.cc
@@ -69,6 +69,7 @@ bool DiscardMessage(const MessagePipeHandle& handle) {
}
void IterateAndReportPerf(const char* test_name,
+ const char* sub_test_name,
PerfTestSingleIteration single_iteration,
void* closure) {
// TODO(vtl): These should be specifiable using command-line flags.
@@ -86,7 +87,7 @@ void IterateAndReportPerf(const char* test_name,
end_time = GetTimeTicksNow();
} while (end_time - start_time < kPerftestTimeMicroseconds);
- MojoTestSupportLogPerfResult(test_name,
+ MojoTestSupportLogPerfResult(test_name, sub_test_name,
1000000.0 * iterations / (end_time - start_time),
"iterations/second");
}
« no previous file with comments | « mojo/public/cpp/system/tests/BUILD.gn ('k') | mojo/public/cpp/test_support/test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698