Flipper Zero Firmware
Loading...
Searching...
No Matches
memmgr_heap.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdint.h>
9#include <core/thread.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#define MEMMGR_HEAP_UNKNOWN 0xFFFFFFFF
16
22
28
36
42
46
47#ifdef __cplusplus
48}
49#endif
size_t memmgr_heap_get_max_free_block(void)
Memmgr heap get the max contiguous block size on the heap.
Definition memmgr_heap.c:222
void memmgr_heap_disable_thread_trace(FuriThreadId thread_id)
Memmgr heap disable thread allocation tracking.
Definition memmgr_heap.c:149
size_t memmgr_heap_get_thread_memory(FuriThreadId thread_id)
Memmgr heap get allocatred thread memory.
Definition memmgr_heap.c:159
void memmgr_heap_printf_free_blocks(void)
Print the address and size of all free blocks to stdout.
Definition memmgr_heap.c:239
void memmgr_heap_enable_thread_trace(FuriThreadId thread_id)
Memmgr heap enable thread allocation tracking.
Definition memmgr_heap.c:135
Furi: Furi Thread API.
void * FuriThreadId
Unique thread identifier type (used by the OS kernel).
Definition thread.h:55