Commit graph

3 commits

Author SHA1 Message Date
594ab43cd8 Do not reset stats in the middle of execution
Do not follow as per [2] at the below link
http://pages.cs.wisc.edu/~david/courses/cs752/Fall2015/wiki/index.php?n=Main.Homework3

If we follow the above, more finegrained set of stats are generated
which we are not interested in for this simulation run.
2017-04-27 18:59:52 +05:30
2fcc51c2c1 Commit splash2 benchmark
While at it also add the libpthread static library amd m5op_x86
for matrix multiplication test code as well.

Note that the splash2 benchmark code does not comply with gem5
coding guidelines. Academic guys never seem to follow 80 columns
and no whitespace guideline :(.
2017-04-26 20:50:15 +05:30
99817b8de9 tests: test-progs: matrix-mult: Add matrix multiplication code for testing
Introduce matrix multiplication test code which allows us to test
performance of various cache replacement algorithms.

This needs to compiled as follows
g++ -static-libgcc mm.cpp -O2 -o mm -lm libpthread.a m5op_x86.o

The pthread static library for x86 is available from this branch
https://github.com/tiwarianoop2/m5threads

and m5op_x86 needs to be generated as described here
http://pages.cs.wisc.edu/~david/courses/cs752/Fall2015/wiki/index.php?n=Main.Homework3

This has been tested only for x86.
2017-01-24 11:28:54 +05:30