polardbxengine/extra/duktape/duktape-2.3.0/examples/alloc-logging
dengwendi 1d6524707e INIT 2023-11-15 15:04:10 +08:00
..
README.rst INIT 2023-11-15 15:04:10 +08:00
duk_alloc_logging.c INIT 2023-11-15 15:04:10 +08:00
duk_alloc_logging.h INIT 2023-11-15 15:04:10 +08:00
log2gnuplot.py INIT 2023-11-15 15:04:10 +08:00

README.rst

======================
Allocator with logging
======================

Example allocator that writes all memory alloc/realloc/free calls into a
log file so that memory usage can replayed later.  This is useful to e.g.
optimize pool sizes.