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

Unified Diff: mojo/public/c/test_support/test_support.h

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/c/system/tests/core_perftest.cc ('k') | mojo/public/cpp/application/application_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/test_support/test_support.h
diff --git a/mojo/public/c/test_support/test_support.h b/mojo/public/c/test_support/test_support.h
index 2b686b272eb5eb9933ca182b6133a6389faf68c6..73a2eefac2e219f0fa4d5ae01f3991b721e1624c 100644
--- a/mojo/public/c/test_support/test_support.h
+++ b/mojo/public/c/test_support/test_support.h
@@ -15,8 +15,15 @@
extern "C" {
#endif
+// |sub_test_name| is optional. If not null, it usually describes one particular
+// configuration of the test. For example, if |test_name| is "TestPacketRate",
+// |sub_test_name| could be "100BytesPerPacket".
+// When the perf data is visualized by the performance dashboard, data with
+// different |sub_test_name|s (but the same |test_name|) are depicted as
+// different traces on the same chart.
MOJO_TEST_SUPPORT_EXPORT void MojoTestSupportLogPerfResult(
const char* test_name,
+ const char* sub_test_name,
double value,
const char* units);
« no previous file with comments | « mojo/public/c/system/tests/core_perftest.cc ('k') | mojo/public/cpp/application/application_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698