gem5/test
Nathan Binkert 520442b01a Fix a bunch of memory leak type bugs, and add some better
checking in places to make sure stuff is behaving properly.

base/statistics.cc:
    separate the per stat check from the general stats check.
    We always want the general stuff to happen
base/statistics.hh:
    -  separate the per stat check from the general stats check.
    we always want the general stuff to happen
    -  make every stat check that its bin is at least initialized
    -  set the vector2d x and y coordinates in init to prevent an
    uninitialized memory access
test/Makefile:
    don't need sim_time.o to test stats
test/stattest.cc:
    don't make x and y the same on the 2d test so that we make
    sure that the two dimensions are correct

--HG--
extra : convert_revision : 81320325056ac1c09f6842474fb6ee3bcc030a8e
2003-12-20 16:25:48 -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 Fix a bunch of memory leak type bugs, and add some better 2003-12-20 16:25:48 -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 Fix a bunch of memory leak type bugs, and add some better 2003-12-20 16:25:48 -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