Zephyr API Documentation 4.1.99
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)
 
void test_mem_slab_stats_invalid_params (void)
 
void test_mem_slab_runtime_stats (void)
 
 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 ,
8 ,
4  )

◆ test_mem_slab_runtime_stats()

void test_mem_slab_runtime_stats ( void )

◆ test_mem_slab_stats_invalid_params()

void test_mem_slab_stats_invalid_params ( void )

◆ ZTEST_SUITE()

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