summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-12 11:05:19 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-19 08:39:02 +0100
commitc542345b257e1fda5f808d4c13c809c0c0e28af7 (patch)
tree1800116a775d16a84724ead3a0c24cd890f804cd
parent78baeb757957fa0807c30e6c4d21ae99c9639e6a (diff)
downloadrtems-c542345b257e1fda5f808d4c13c809c0c0e28af7.tar.bz2
libtest: Simplify "Load" environment reporting
Report all runtime measurement environments with a name only and encode the worker count of the "Load" environment in the name. Update #3199.
-rw-r--r--cpukit/libtest/t-test-rtems-measure.c4
1 files 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;