Sometimes, users want to know how much memory space is consumed at the peak time. In order to obtain this kind of information, users need to recompile the emulator with the definition of the variable ToamProfile in toam.h. There is a counter for each stack, and the emulator updates the counters each time that an instruction is executed. In order to print the counters, use the predicate
print_counters
In order to initialize the counters, use the predicate
start_click
Neng-Fa Zhou
2013-01-25