gem5/test
Nathan Binkert 55d94ba2e8 Add python output support to the statistics package!
base/statistics.cc:
base/statistics.hh:
    -  add python output support to the statistics package
    -  each statistic type has a python() member function that takes
    a Python object to which the stat will output it's python
    representation
    -  add getStatData hack so that the StatData pointer can be looked
    up by the proxies with their opaque pointer to the stat they're
    proxying for.  This is necessary because the proxy really proxies
    for the bin and not the stat.  Be nice to figure out how to get
    rid of it.  The hack is used so that the str() function of a
    proxy can properly name itself.
    -  To print formula stats, every stat has a str() function that
    converts that stat to a string that python can execute to get
    a value.
test/Makefile:
    add python stuff
test/stattest.cc:
    add more tests and test python support

--HG--
extra : convert_revision : 513814ab0a125606897f2c57dccdf22879032ef9
2003-12-24 03:25:36 -05: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 Add python output support to the statistics package! 2003-12-24 03:25:36 -05: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 Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
rangetest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
sized_test.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
stattest.cc Add python output support to the statistics package! 2003-12-24 03:25:36 -05: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