Closed jerrysinha closed 6 years ago
Trying defining the DEBUG macro on the command line.
Hi @xyzsam , Thanks for replying.
I tried to run the command as follows: /workspace/gem5-aladdin/src/aladdin/common/aladdin --DEBUG triad ../dynamic_trace.gz config_example
And, ofcourse it is not working!! How do I set the DEBUG macro?
Sorry I wasn't clear about this. You need to build Aladdin with the DEBUG macro defined. So just add -DDEBUG to CFLAGS. Alternatively, you can do make debug
instead of make
(under aladdin/src/common) which will add the DEBUG macro and -O0 for you.
Thanks @xyzsam , I am able to generate the files.
I have downloaded the docker image of gem5-aladdin and only built the Aladdin. I am able to run the triad example and the following output files are generated: triad_summary, out.csv, ddg_parse_progress.out.
But, I am not able to find the "_stats " and "_stats_power " files.
Do I need to set any flags for generating the stats files?