|
@@ -11,7 +11,7 @@ RPC Exports for malloc_test
|
|
|
<section id="mt.mem_alloc"><title>mt.mem_alloc</title>
|
|
|
<para>
|
|
|
Allocates the specified number of bytes (debugging/test
|
|
|
- function).Use b|k|m|g to specify the desired size unit
|
|
|
+ function). Use b|k|m|g to specify the desired size unit
|
|
|
</para>
|
|
|
<para>
|
|
|
</para>
|
|
@@ -22,7 +22,7 @@ RPC Exports for malloc_test
|
|
|
Frees the specified number of bytes, previously allocated by
|
|
|
one of the other malloc_test functions (e.g. mt.mem_alloc or
|
|
|
the script mt_mem_alloc). Use b|k|m|g to specify the desired
|
|
|
- size unit.Returns the number of bytes freed (can be higher or
|
|
|
+ size unit. Returns the number of bytes freed (can be higher or
|
|
|
smaller then the requested size)
|
|
|
</para>
|
|
|
<para>
|
|
@@ -36,7 +36,7 @@ RPC Exports for malloc_test
|
|
|
chunks exists, it will fail. Make sure mt.mem_used is non 0 or
|
|
|
call mt.mem_alloc prior to calling this function. Returns the
|
|
|
difference in bytes (<0 if bytes were freed, >0 if more
|
|
|
- bytes were allocated).Use b|k|m|g to specify the desired size
|
|
|
+ bytes were allocated). Use b|k|m|g to specify the desired size
|
|
|
unit
|
|
|
</para>
|
|
|
<para>
|
|
@@ -57,7 +57,7 @@ RPC Exports for malloc_test
|
|
|
<para>
|
|
|
Takes 4 parameters: min, max, total_size and an optional unit
|
|
|
(b|k|m|g). It will allocate total_size memory, in pieces of
|
|
|
- random size betweenmin .. max (inclusive).
|
|
|
+ random size between min .. max (inclusive).
|
|
|
</para>
|
|
|
<para>
|
|
|
</para>
|
|
@@ -71,7 +71,7 @@ RPC Exports for malloc_test
|
|
|
for test_time ms. At a random interval between min_interval and
|
|
|
max_interval ms. it will allocate a memory chunk with random
|
|
|
size, between min and max. Each time total_size is reached, it
|
|
|
- will free all the memory allocated and start again.Returns the
|
|
|
+ will free all the memory allocated and start again. Returns the
|
|
|
test id (integer)
|
|
|
</para>
|
|
|
<para>
|
|
@@ -81,7 +81,7 @@ RPC Exports for malloc_test
|
|
|
<section id="mt.mem_test_stop"><title>mt.mem_test_stop</title>
|
|
|
<para>
|
|
|
Takes 1 parameter: the test id. It will stop the corresponding
|
|
|
- test.Note: the test is stopped, but not destroyed.
|
|
|
+ test. Note: the test is stopped, but not destroyed.
|
|
|
</para>
|
|
|
<para>
|
|
|
</para>
|