Home
last modified time | relevance | path

Searched refs:max_allocated_bytes (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.6.0/tests/drivers/mm/sys_mm_drv_bank/src/
Dmain.c26 zassert_equal(stats->max_allocated_bytes, expected->max_allocated_bytes, in test_stats()
28 stats->max_allocated_bytes, in test_stats()
29 expected->max_allocated_bytes); in test_stats()
44 expected.max_allocated_bytes = EXPECTED(BANK_PAGES); in ZTEST()
56 expected.max_allocated_bytes = EXPECTED(0); in ZTEST()
74 expected.max_allocated_bytes = EXPECTED(2); in ZTEST()
86 expected.max_allocated_bytes = EXPECTED(2); in ZTEST()
98 expected.max_allocated_bytes = EXPECTED(2); in ZTEST()
108 expected.max_allocated_bytes = EXPECTED(3); in ZTEST()
120 expected.max_allocated_bytes = EXPECTED(3); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/lib/mem_blocks_stats/src/
Dmain.c64 zassert_equal(stats.max_allocated_bytes, 0, in ZTEST()
66 stats.max_allocated_bytes); in ZTEST()
82 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
84 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
100 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
102 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
118 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
120 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
137 zassert_equal(stats.max_allocated_bytes, 2 * BLK_SZ, in ZTEST()
139 2 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/mem_slab/mslab_stats/src/
Dmain.c60 zassert_equal(stats.max_allocated_bytes, 0, in ZTEST()
62 stats.max_allocated_bytes); in ZTEST()
84 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
86 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
102 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
104 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
120 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
122 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
139 zassert_equal(stats.max_allocated_bytes, 2 * BLK_SZ, in ZTEST()
141 2 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/lib/heap/
Dheap_stats.c20 stats->max_allocated_bytes = heap->heap->max_allocated_bytes; in sys_heap_runtime_stats_get()
31 heap->heap->max_allocated_bytes = heap->heap->allocated_bytes; in sys_heap_runtime_stats_reset_max()
Dheap.c20 h->max_allocated_bytes = MAX(h->max_allocated_bytes, h->allocated_bytes); in increase_allocated_bytes()
517 h->max_allocated_bytes = 0; in sys_heap_init()
Dheap.h75 size_t max_allocated_bytes; member
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c449 zassert_equal(query.max_allocated_bytes, expected->max_allocated_bytes, in test_mem_block_query()
451 str, expected->max_allocated_bytes, in test_mem_block_query()
452 query.max_allocated_bytes); in test_mem_block_query()
467 .max_allocated_bytes = 0 in ZTEST()
495 query.max_allocated_bytes += 32; in ZTEST()
510 query.max_allocated_bytes += 32; in ZTEST()
533 query.max_allocated_bytes = query.allocated_bytes; in ZTEST()
607 zassert_equal(query.max_allocated_bytes, expected->max_allocated_bytes, in test_mem_slab_query()
609 str, expected->max_allocated_bytes, in test_mem_slab_query()
610 query.max_allocated_bytes); in test_mem_slab_query()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dmem_stats.h27 size_t max_allocated_bytes; member
/Zephyr-Core-3.6.0/samples/basic/sys_heap/src/
Dmain.c45 stats.max_allocated_bytes, HEAP_SIZE); in print_sys_memory_stats()
/Zephyr-Core-3.6.0/kernel/
Dmem_slab.c55 ptr->max_allocated_bytes = slab->info.max_used * slab->info.block_size; in k_mem_slab_stats_query()
57 ptr->max_allocated_bytes = 0; in k_mem_slab_stats_query()
297 stats->max_allocated_bytes = slab->info.max_used * in k_mem_slab_runtime_stats_get()
300 stats->max_allocated_bytes = 0; in k_mem_slab_runtime_stats_get()
/Zephyr-Core-3.6.0/drivers/mm/
Dmm_drv_bank.c52 stats->max_allocated_bytes = bank->max_mapped_pages * in sys_mm_drv_bank_stats_get()
/Zephyr-Core-3.6.0/lib/mem_blocks/
Dmem_blocks.c442 stats->max_allocated_bytes = mem_block->info.max_used_blocks << in sys_mem_blocks_runtime_stats_get()
491 ptr->max_allocated_bytes = block->info.max_used_blocks << in sys_mem_blocks_stats_query()
/Zephyr-Core-3.6.0/subsys/shell/modules/
Dkernel_service.c297 shell_print(sh, "max. allocated: %zu", stats.max_allocated_bytes); in cmd_kernel_heap()