You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With commit 0031224, the command uftrace build/rv32emu build/rvsim.elf | egrep "malloc|calloc" | wc -l now yields a count of 2, indicating a significant reduction in memory usage.
rvsim.c is a minimal RV32I simulator without dynamic memory allocation.
Run:
Expected results:
Use uftrace to track the number of
malloc
invocation:It shows
1813
invocations ofmalloc
andcalloc
, which should be eliminated for performance consideration.Related: #94
The text was updated successfully, but these errors were encountered: