Name
malloc_test — stress-test the memory allocator by allocate/free cycles
Synopsis
malloc_test(
|
in times integer, |
in size integer); |
Description
malloc_test performs a stress test of the memory
allocator by allocating and freeing times buffers
of size bytes. Intended for benchmarking; do not
use in production code.
Parameters
times
Number of allocate/free iterations.
size
Size in bytes of each temporary buffer.
Return Types
None.