Hi Brad
I am working on moving more of the statistics collected by ruby to gem5'
style. To keep the printing similar to that of ruby, I am considering
adding an option to print vector statistics in gem5 in style different
from the current one. How would like to see the statistics? I can think of
the following three options:
1. Keep the style as is. This means all the data values for index in the vector
are printed on separate lines. For example:
system.ruby.dir_cntrl0.memBuffer.memBankCount::0 19 5.22% 5.22%
# Number of accesses per bank
system.ruby.dir_cntrl0.memBuffer.memBankCount::1 15 4.12% 9.34%
# Number of accesses per bank
system.ruby.dir_cntrl0.memBuffer.memBankCount::2 15 4.12% 13.46%
# Number of accesses per bank
system.ruby.dir_cntrl0.memBuffer.memBankCount::3 19 5.22% 18.68%
# Number of accesses per bank
system.ruby.dir_cntrl0.memBuffer.memBankCount::4 20 5.49% 24.18%
# Number of accesses per bank
The first column is the name of stat and the index in the vector, the second
column is value at the index, the third column is pdf and last one is pdf.
2. Print the data values, the pdf and the cdf on three separate lines. Example:
system.ruby.dir_cntrl0.memBuffer.memBankCount::data 19 15 15 19
20
system.ruby.dir_cntrl0.memBuffer.memBankCount::pdf 19% 15% 15% 19%
20%
system.ruby.dir_cntrl0.memBuffer.memBankCount::cdf 19% 34% 49% 68%
88%
3. Print the data values, the pdf and the cdf together on a single line.
Example:
system.ruby.dir_cntrl0.memBuffer.memBankCount::[data, pdf, cdf] [19 5.22%
5.22%] [15 4.12% 9.34%] [15 4.12% 13.46%] [19 5.22% 18.68%] [20 5.49% 24.18%]
--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev