Skip to content

custom memory allocator for mruby with TLSF

License

Notifications You must be signed in to change notification settings

supermcu/mruby-tlsf

This branch is 5 commits behind yamanekko/mruby-tlsf:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b06f2f · Nov 3, 2019

History

8 Commits
Nov 3, 2019
Mar 14, 2019
Nov 3, 2019
Mar 14, 2019
Dec 9, 2018
Dec 9, 2018
Dec 9, 2018
Nov 3, 2019
Dec 9, 2018
Dec 9, 2018
Apr 4, 2019
Dec 9, 2018
Dec 9, 2018

Repository files navigation

mruby-tlsf

mruby-tlsf uses TLSF memory allocator written by Matthew Conte as a custom allocator in mruby.

Usage

This mrbgem defines mrb_state* mrb_open_tlsf(void *mem, size_t bytes). You can use this instead of mrb_open().

Methods

  • TLSF::available_memory : returns available memory.
  • TLSF::used_memory : returns used memory.
  • TLSF::total_memory : returns total memory.

LICENSE

MIT

About

custom memory allocator for mruby with TLSF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.0%
  • Ruby 2.9%
  • Makefile 1.1%