Re: [m5-dev] Statistics Output Conventions

2010-11-11 Thread Steve Reinhardt
On Thu, Nov 11, 2010 at 7:29 PM, nathan binkert wrote: > > This is the convention I've been using: > > (1) To maintain instance variable naming conventions, I have named the > > stats variables using lowerCamelCase. > > (2) For stat string output printed to stats.txt, I've used > > lower_unde

Re: [m5-dev] Statistics Output Conventions

2010-11-11 Thread nathan binkert
> This is the convention I've been using: >   (1) To maintain instance variable naming conventions, I have named the > stats variables using lowerCamelCase. >   (2) For stat string output printed to stats.txt, I've used > lower_underscore. > It looks like the majority of stats.txt output strings ar

Re: [m5-dev] Statistics Output Conventions

2010-11-11 Thread Joel Hestness
This is the convention I've been using: (1) To maintain instance variable naming conventions, I have named the stats variables using lowerCamelCase. (2) For stat string output printed to stats.txt, I've used lower_underscore. It looks like the majority of stats.txt output strings are in lower_

Re: [m5-dev] Statistics Output Conventions

2010-11-04 Thread nathan binkert
> I think the current situation is basically historical... the stats names > with underscores were inherited from SimpleScalar, and then we we went with > camelCase for variable names there was an inherent mismatch that has at > times been perpetuated and at other times ignored. True. > It would b

Re: [m5-dev] Statistics Output Conventions

2010-11-04 Thread Steve Reinhardt
On Thu, Nov 4, 2010 at 12:21 PM, nathan binkert wrote: > > I'm currently trying to leverage a Python script and McPAT to consume > M5 > > statistics (stats.txt) and calculate power estimates for a simulated > system. > > Stats variables in the SimObjects are lowerCamelCase according to the > >

Re: [m5-dev] Statistics Output Conventions

2010-11-04 Thread nathan binkert
>   I'm currently trying to leverage a Python script and McPAT to consume M5 > statistics (stats.txt) and calculate power estimates for a simulated system. >  Stats variables in the SimObjects are lowerCamelCase according to the > coding style, but it looks like the names output to the stats.txt fi

[m5-dev] Statistics Output Conventions

2010-11-04 Thread Joel Hestness
Hi, I'm currently trying to leverage a Python script and McPAT to consume M5 statistics (stats.txt) and calculate power estimates for a simulated system. Stats variables in the SimObjects are lowerCamelCase according to the coding style, but it looks like the names output to the stats.txt file a