SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2021 embedded brains GmbH & Co. KG enabled-by: true links: - role: requirement-refinement uid: /testsuites/membench - role: validation uid: ../req/mem-basic test-brief: | This static memory usage benchmark program facilitates a basic application configuration. test-code: | static void Init( rtems_task_argument arg ) { (void) arg; /* Nothing to do */ } #define TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES #define TASK_STORAGE_SIZE \ RTEMS_TASK_STORAGE_SIZE( \ RTEMS_MINIMUM_STACK_SIZE, \ TASK_ATTRIBUTES ) #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 0 #define CONFIGURE_DISABLE_NEWLIB_REENTRANCY #define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM #define CONFIGURE_IDLE_TASK_STORAGE_SIZE RTEMS_MINIMUM_STACK_SIZE #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_ATTRIBUTES TASK_ATTRIBUTES #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES #define CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE TASK_STORAGE_SIZE #define CONFIGURE_INIT #include test-description: | This resource benchmark is configured for exactly one processor, no clock driver, no Newlib reentrancy support, and no file system. test-includes: - rtems.h test-local-includes: [] test-target: testsuites/membench/mem-rtems-basic.c type: memory-benchmark