The patch that I will put out on the review board will have both the
memory controller and the cache controller stats in the format specified
by the third option.
On Wed, 22 May 2013, Beckmann, Brad wrote:
Thanks for doing this. This has long been a sore spot and it is great
that you are cleaning this up. I know that code is not easy to
understand.
I like the last option, though the memBuffer statistics are not that
important to me.
What I care about is the generated controller statistics. That is where
I believe it is important to maintain a condensed format. I assume
you're plan is to tackle those eventually???
Brad
-----Original Message-----
From: Nilay Vaish [mailto:[email protected]]
Sent: Wednesday, May 22, 2013 2:09 PM
To: Beckmann, Brad
Cc: [email protected]
Subject: Printing vector statistics
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