From 38b045a9b4febd54ea0c5a3fbd27b4eac86699fb Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Fri, 20 Oct 2023 19:03:15 -0400 Subject: [PATCH] tests: app_kernel: Update README Updates the README.txt to add some notes about user thread configurations. Signed-off-by: Peter Mitsis --- tests/benchmarks/app_kernel/README.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/app_kernel/README.txt b/tests/benchmarks/app_kernel/README.txt index e4057c87de67b40..29fefad2992dc23 100644 --- a/tests/benchmarks/app_kernel/README.txt +++ b/tests/benchmarks/app_kernel/README.txt @@ -5,6 +5,11 @@ Description: The app_kernel test is used to measure the performance of the following kernel objects: message queues, semaphores, memory slabs, mailboxes and pipes. +When the userspace version is selected (CONF_FILE=prj_user.conf), this +benchmark will execute with four configurations (kernel/kernel, kernel/user, +user/kernel and user/user). However, any configuration involving user threads +will omit both the memory slabs and mailbox tests. + -------------------------------------------------------------------------------- Sample Output: @@ -17,8 +22,11 @@ Sample Output: | dequeue 1 byte msg in FIFO | NNNNNN| | enqueue 4 bytes msg in FIFO | NNNNNN| | dequeue 4 bytes msg in FIFO | NNNNNN| -| enqueue 1 byte msg in FIFO to a waiting higher priority task | NNNNNN| -| enqueue 4 bytes in FIFO to a waiting higher priority task | NNNNNN| +| enqueue 192 bytes msg in MSGQ | NNNNNN| +| dequeue 192 bytes msg in MSGQ | NNNNNN| +| enqueue 1 byte msg in MSGQ to a waiting higher priority task | NNNNNN| +| enqueue 4 bytes in MSGQ to a waiting higher priority task | NNNNNN| +| enqueue 192 bytes in MSGQ to a waiting higher priority task | NNNNNN| |-----------------------------------------------------------------------------| | signal semaphore | NNNNNN| | signal to waiting high pri task | NNNNNN|