Skip to content

Commit

Permalink
test: Implement obj core stats test
Browse files Browse the repository at this point in the history
Adds a test to test the objects integrated into the object core
statistics framework.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
  • Loading branch information
peter-mitsis committed Jun 12, 2023
1 parent 8db8cc5 commit 6e945a8
Show file tree
Hide file tree
Showing 4 changed files with 716 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/kernel/obj_core/obj_core_stats/CMakeLists.txt
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(obj_core)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
8 changes: 8 additions & 0 deletions tests/kernel/obj_core/obj_core_stats/prj.conf
@@ -0,0 +1,8 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_OBJ_CORE=y
CONFIG_OBJ_CORE_STATS=y
CONFIG_SCHED_THREAD_USAGE=y
CONFIG_SCHED_THREAD_USAGE_ANALYSIS=y
CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATION=y
CONFIG_SYS_MEM_BLOCKS=y

0 comments on commit 6e945a8

Please sign in to comment.