IonDB
Github
Jenkins
Documentation
Wiki
Files
Structures
File List
File Members
src
benchmark
ram
ram_util.c
Go to the documentation of this file.
1
/******************************************************************************/
35
/******************************************************************************/
36
37
#include "
ram_util.h
"
38
39
int
40
free_ram
(
41
) {
42
extern
int
__heap_start, *__brkval;
43
int
v;
44
45
return
(
int
) &v - (__brkval == 0 ? (int) &__heap_start : (
int
) __brkval);
46
}
free_ram
int free_ram()
Definition:
ram_util.c:40
ram_util.h
Utility function to check how many bytes of available RAM remains.