[rtems-central commit] validation: Print samples in performance tests

Sebastian Huber sebh at rtems.org
Mon Dec 21 14:52:42 UTC 2020


Module:    rtems-central
Branch:    master
Commit:    b2cd13b4ee77c543becd5d3be14d72a94f0d30f2
Changeset: http://git.rtems.org/rtems-central/commit/?id=b2cd13b4ee77c543becd5d3be14d72a94f0d30f2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Dec 21 15:50:27 2020 +0100

validation: Print samples in performance tests

---

 rtemsspec/validation.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rtemsspec/validation.py b/rtemsspec/validation.py
index 3663acb..f86a9ff 100644
--- a/rtemsspec/validation.py
+++ b/rtemsspec/validation.py
@@ -852,6 +852,7 @@ class _RuntimeMeasurementTestItem(_TestItem):
                 "memset( &config, 0, sizeof( config ) );",
                 f"config.sample_count = {self['params']['sample-count']};",
                 "ctx->request.arg = ctx;",
+                "ctx->request.flags = T_MEASURE_RUNTIME_REPORT_SAMPLES;",
                 "ctx->context = T_measure_runtime_create( &config );",
                 "T_assert_not_null( ctx->context );",
             ])



More information about the vc mailing list