Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#include <zephyr/kernel.h>
#include <zephyr/ztest.h>

Macros

#define BLK_SZ   64
 
#define NUM_BLOCKS   8
 

Functions

 K_MEM_SLAB_DEFINE (kmslab, 64, 8, 4)
 
 ZTEST (lib_mem_slab_stats_test, test_mem_slab_stats_invalid_params)
 
 ZTEST (lib_mem_slab_stats_test, test_mem_slab_runtime_stats)
 
 ZTEST_SUITE (lib_mem_slab_stats_test, NULL, NULL, NULL, NULL, NULL)
 

Macro Definition Documentation

◆ BLK_SZ

#define BLK_SZ   64

◆ NUM_BLOCKS

#define NUM_BLOCKS   8

Function Documentation

◆ K_MEM_SLAB_DEFINE()

K_MEM_SLAB_DEFINE ( kmslab  ,
64  ,
,
 
)

◆ ZTEST() [1/2]

ZTEST ( lib_mem_slab_stats_test  ,
test_mem_slab_runtime_stats   
)

◆ ZTEST() [2/2]

ZTEST ( lib_mem_slab_stats_test  ,
test_mem_slab_stats_invalid_params   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( lib_mem_slab_stats_test  ,
NULL  ,
NULL  ,
NULL  ,
NULL  ,
NULL   
)