[PATCH 6/8] libtest: Simplify "Load" environment reporting
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 13 10:07:55 UTC 2020
Report all runtime measurement environments with a name only and encode
the worker count of the "Load" environment in the name.
Update #3199.
---
cpukit/libtest/t-test-rtems-measure.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/libtest/t-test-rtems-measure.c b/cpukit/libtest/t-test-rtems-measure.c
index 0607312701..aed309928f 100644
--- a/cpukit/libtest/t-test-rtems-measure.c
+++ b/cpukit/libtest/t-test-rtems-measure.c
@@ -708,8 +708,8 @@ measure_load_variant(T_measure_runtime_context *ctx,
T_time begin;
size_t token;
- measure_variant_begin(req->name, "Load");
- T_printf("M:L:%" PRIu32 "\n", load + 1);
+ T_printf("M:B:%s\n", req->name);
+ T_printf("M:V:Load/%" PRIu32 "\n", load + 1);
begin = T_now();
sample_count = ctx->sample_count;
samples = ctx->samples;
--
2.26.2
More information about the devel
mailing list