• Paul Sokolovsky's avatar
    Expose memory stats functions via "micropython" module. · 440cc3f0
    Paul Sokolovsky authored
    These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3
    individual functions with simple scalar return value to make sure that
    calls to these functions themselves have minimal (hopefully zero) impact on
    memory allocation.
    440cc3f0
runtime.c 36.7 KB