gem5/test
Nathan Binkert a4d7bb113a Make a new stat type of Value which is a scalar stat that
proxies for a real C/C++ scalar value or scalar functor.
This replaces the scalar() and functor() terms that were
previously used in formulas.  This helps when dumping
statistics because the formulas are not supposed to change.

cpu/base_cpu.cc:
    Add a number of cycles stat to the cpu object that tracks the
    number of cycles that the cpu has executed.  This starts to pave
    the way for cpu cycles being different from event ticks.
cpu/base_cpu.hh:
    provide a functor for calculating all simulated instructions
    of all CPUs and a virtual function for determining that number.
    To deal with the change from functor() to Value::functor()
cpu/simple_cpu/simple_cpu.cc:
    simTicks -> numCycles
    numInsts is now a real Scalar stat, not a Formula
cpu/simple_cpu/simple_cpu.hh:
    numInsts is now a real Scalar stat, not a Formula
    count all instructions
sim/stat_control.cc:
    simInsts, simTicks, hostMemory, and hostSeconds are no
    longer Statistics::Formula but rather Statistics::Value
    add new stat for tick frequency
sim/stats.hh:
    don't need everything to be extern.
test/Makefile:
    Make stuff work a tad bit better
test/stattest.cc:
    test out Statistics::Value

--HG--
extra : convert_revision : c812e8baa2b17c08abf3a68ed1e1125dc6f2cfb4
2004-05-12 15:49:01 -04:00
..
bitvectest.cc Import changeset 2003-10-07 10:41:54 -04:00
circletest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
cprintftest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
foo.ini New ini-file feature: += appends RHS to LHS. 2003-10-21 21:24:34 -07:00
initest.cc New ini-file feature: += appends RHS to LHS. 2003-10-21 21:24:34 -07:00
initest.ini Import changeset 2003-10-07 10:41:54 -04:00
lru_test.cc Import changeset 2003-10-07 10:41:54 -04:00
Makefile Make a new stat type of Value which is a scalar stat that 2004-05-12 15:49:01 -04:00
nmtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
offtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
paramtest.cc Beta version of Python configuration tool. Generates .ini files from 2004-04-06 10:02:00 -07:00
rangetest.cc Totally rework the Range class. Now the range is from [start, end) 2004-02-07 01:16:50 -05:00
sized_test.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
stattest.cc Make a new stat type of Value which is a scalar stat that 2004-05-12 15:49:01 -04:00
strnumtest.cc Make the to_number function work better. 2003-10-31 18:27:17 -05:00
symtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tokentest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tracetest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00