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); |