zephyr/tests/benchmarks
Peter Mitsis 11f69fb686 tests: Fix thread_metric message processing
Changes the type of both the tm_message_sent and tm_message_received
arrays from 'unsigned long' to 'unsigned int'. The test expects those
arrays to be 16 bytes long. This was a problem on 64-bit platforms
as 'unsigned long' is 8 bytes, which made the arrays 32 bytes long.
On both our supported 32-bit and 64-bit platforms, 'unsigned int'
works out to be 4 bytes long, thereby giving us the requisite 16
byte buffer.

Although a case could be made for using 'uint32_t', this was not
chosen simply to keep the structure as close as practical to the
original thread_metric implementation.

Fixes #83864

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-02-05 01:12:52 +01:00
..
app_kernel tests: app_kernel: restore the PIPE_NOBUFF variant 2025-01-21 19:44:57 +01:00
cmsis_dsp boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
data_structure_perf tests: benchmarks: optimize filters and use platform_key. 2024-11-26 21:42:22 +01:00
footprints Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
latency_measure tests: Adjust to Twister changes in recording feature 2025-01-16 22:38:51 +01:00
mbedtls modules: mbedtls: rename CONFIG_MBEDTLS_MAC_*_ENABLED and rm duplicates 2024-05-29 08:39:26 +02:00
posix/threads tests: Adjust to Twister changes in recording feature 2025-01-16 22:38:51 +01:00
sched tests: benchmarks: optimize filters and use platform_key. 2024-11-26 21:42:22 +01:00
sched_queues tests: Adjust to Twister changes in recording feature 2025-01-16 22:38:51 +01:00
sched_userspace tests: benchmarks: optimize filters and use platform_key. 2024-11-26 21:42:22 +01:00
sys_kernel tests: benchmarks: optimize filters and use platform_key. 2024-11-26 21:42:22 +01:00
thread_metric tests: Fix thread_metric message processing 2025-02-05 01:12:52 +01:00
wait_queues tests: Adjust to Twister changes in recording feature 2025-01-16 22:38:51 +01:00