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.
This commit is contained in:
Sebastian Huber
2020-11-12 11:05:19 +01:00
parent 78baeb7579
commit c542345b25

View File

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