History log of /gem5/src/base/stats/info.hh
Revision Date Author Comments
# 14266:711b485a4bf8 06-Sep-2019 Andreas Sandberg <andreas.sandberg@arm.com>

stats: Fix incorrect name conflict panic with grouped stats

Info::setName() performs a sanity check to ensure that the same stat
name isn't used twice. This doesn't work for new-style stats with a
parent group since the name is only unique within the group. Disable
the check for new-style stats since these usually use names generated
from member variable names.

Change-Id: I590abe6040407c6a4fe582c0782a418165ff5588
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20760
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>


# 11565:9b9116df5e88 21-Jul-2016 David Guillen Fandos <david.guillen@arm.com>

base: Add total() to Vector2D stat

This patch adds a total() function to the Vector2D
stat type. Similar to other stats such as Scalar or
Vector it is useful to be able to read the total for
a given stat.


# 9743:436a74146cbc 09-Jun-2013 Nilay Vaish <nilay@cs.wisc.edu>

stats: allow printing vectors on a single line
This patch adds a new flag to specify if the data values for a given vector
should be printed in one line in the stats.txt file. The default behavior
will be to print the data in multiple lines. It makes changes to print
functions to enforce this behavior.


# 8666:97d873b8b13e 09-Jan-2012 Prakash Ramrakhyani <Prakash.Ramrakhyani@arm.com>

sim: Enable sampling of run-time for code-sections marked using pseudo insts.

This patch adds a mechanism to collect run time samples for specific portions
of a benchmark, using work_begin and work_end pseudo instructions.It also enhances
the histogram stat to report geometric mean.


# 8514:57c96df312a1 19-Aug-2011 Thomas Grass <Thomas.Grass@ARM.com>

Stats: Add a sparse histogram stat object.


# 8296:be7f03723412 12-May-2011 Nathan Binkert <nate@binkert.org>

stats: move code that loops over all stats into python


# 8243:63e849f0f341 20-Apr-2011 Brad Danofsky <bradley.danofsky@amd.com>

stats: add user settable separator string for arrayed stats

Default is '::', so no visible change unless it is overridden


# 8229:78bf55f23338 15-Apr-2011 Nathan Binkert <nate@binkert.org>

includes: sort all includes


# 7831:c1e158414648 10-Jan-2011 Nathan Binkert <nate@binkert.org>

stats: Add a histogram statistic type


# 7811:a8fc35183c10 03-Jan-2011 Steve Reinhardt <steve.reinhardt@amd.com>

Make commenting on close namespace brackets consistent.

Ran all the source files through 'perl -pi' with this script:

s|\s*(};?\s*)?/\*\s*(end\s*)?namespace\s*(\S+)\s*\*/(\s*})?|} // namespace $3|;
s|\s*};?\s*//\s*(end\s*)?namespace\s*(\S+)\s*|} // namespace $2\n|;
s|\s*};?\s*//\s*(\S+)\s*namespace\s*|} // namespace $1\n|;

Also did a little manual editing on some of the arch/*/isa_traits.hh files
and src/SConscript.


# 7505:7772a8bf76ee 21-Jul-2010 Nathan Binkert <nate@binkert.org>

stats: unify the two stats distribution type better


# 7462:0c61c3cf7639 15-Jun-2010 Nathan Binkert <nate@binkert.org>

stats: rename print to display so it work in python


# 6212:64c3b989238c 13-May-2009 Nathan Binkert <nate@binkert.org>

stats: fancy is a bad name


# 6172:278d0e37eba2 11-May-2009 Nathan Binkert <nate@binkert.org>

stats: remove a few compat leftovers


# 6169:8ba6a73c8a45 11-May-2009 Nathan Binkert <nate@binkert.org>

scons: add include guards to info.hh


# 6130:0fb959250892 22-Apr-2009 Nathan Binkert <nate@binkert.org>

stats: Move flags into info.hh and use base/flags.hh to manage the flags


# 6129:05405c5b8c16 22-Apr-2009 Nathan Binkert <nate@binkert.org>

stats: Shuffle around info stuff so it can be accessed separately