rockbox/apps/plugins/lua_scripts
William Wilgus ef34126913 lua add better memory stats
lua gives you a memory used number that only reflects the current allocations
if fact it doesn't even give you a way to get the amount of ram free

rb.mem_stats() seeks to fill this gap by marking the memory allocated for lua
with a sentinel value which can later be checked to get a high water mark
of the ram used by lua and a pretty good idea of how much ram is available

Also includes an example script
usage:
used, allocd, free = rb.mem_stats()

Change-Id: Ia282869f989848324d7d88c7df4827fdbce4fb4e
2020-10-05 11:53:27 -04:00
..
dbgettags.lua
dump_rbsettings.lua Lua add metadata and settings reading helper module 2019-09-07 03:10:59 +02:00
fade2sleep.lua
file_browser.lua lua -- add sort by name, size, date to filebrowse include 2020-09-25 23:07:30 -04:00
filebrowse.lua lua -- add sort by name, size, date to filebrowse include 2020-09-25 23:07:30 -04:00
fileview.lua
fileviewers.lua
lua_scripts.make
memchk.lua lua add better memory stats 2020-10-05 11:53:27 -04:00
playback.lua lua rockevents reduce context switching for action and buttons 2020-09-30 16:33:38 +00:00
print_lua_func.lua lua optimize print include, fix draw_poly 2019-08-04 17:54:03 +02:00
printmenu.lua
rlimg.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
splashscroller.lua lua misc tweaks and cleanup 2020-10-04 04:00:54 -04:00
tagnav.lua
track_metadata.lua Lua add metadata and settings reading helper module 2019-09-07 03:10:59 +02:00