Hi
I am Bhaskar. I am a final year B.E student. For my final year project I am
using the gem5 simulator. I need to collect the stack distance of programs
using gem5. I used the --debug-flag="StackDist", but it did not print
anything. I also tried setting the verifyStack flag in
mem/stack_dist_calc.hh to true as:
// Flag to enable verification of stack. (Slows down the simulation)
    const bool verifyStack=true;
but it did not work too. For reference this is the command line am usuing:
build/X86/gem5.debug --debug-flag='StackDist' --debug-file='sdp.trc.gz'
--stats-file=forij.txt --dump-config=for.ini --json-config=for.json
configs/example/se.py --num-cpus=1 --cpu-type=DerivO3CPU --caches
--l1i_size=32kB --l1d_size=32kB --l2cache --num-l2caches=1 --l2_size=256kB
--l2_assoc=4 -c "bench/x86/forij;"

Can you please guide me through my problem and tell me to do the necessary
steps.

Thanks for your support

-Bhaskar
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to