Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Where can I get API of SYSBIOS HeapMem to get totalsize and totalfreesize in realtime?

$
0
0

What version of SYS/BIOS are you using?


You can simply call

Memory_getStats(NULL, &stats);

When you use NULL, you get the default heap. BIOS by default sets up the default heap and it's size is dictated by the BIOS.heapSize parameter.

Todd


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>