validation: Test CPU performance

Measure the runtime of 1000 no-operation instructions.  This may help to
investigate runtime measurement variations which do not result from code
generation or source code changes.

The runtime measurement of a function which does nothing and just
returns gives an estimate of the measurement overhead.

Update #3716.
This commit is contained in:
Sebastian Huber
2023-10-12 14:10:57 +02:00
parent 1781b517dd
commit 2cb3d75d9e
2 changed files with 271 additions and 0 deletions
@@ -12,6 +12,7 @@ ldflags: []
links: []
source:
- testsuites/validation/tc-barrier-performance.c
- testsuites/validation/tc-cpu-performance.c
- testsuites/validation/tc-event-performance.c
- testsuites/validation/tc-message-performance.c
- testsuites/validation/tc-part-performance.c