Skip to content

Commit bb3f709

Browse files
author
Deepika
committed
Add overhead info to memory trace tutorial
1 parent acd9334 commit bb3f709

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorials/optimize/memory/runtime_mem_trace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ It outputs the following trace:
6262

6363
- The tracer doesn't handle nested calls of the memory functions. For example, if you call `realloc` and the implementation of `realloc` calls `malloc` internally, the call to `malloc` is not traced.
6464
- The **caller** argument of the callback function isn't always reliable. It doesn't work at all on some toolchains, and it might output erroneous data on others.
65+
- Overhead of 8 bytes is added to every dynamic memory allocation when memory tracing is enabled.

0 commit comments

Comments
 (0)