Stats database fixes to avoid naming conflicts in the database
authorNathan Binkert <binkertn@umich.edu>
Fri, 23 Jul 2004 03:59:12 +0000 (23:59 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 23 Jul 2004 03:59:12 +0000 (23:59 -0400)
commit1987dd82d181f76a4627273dd9345b4141a6b416
treeac222bd57e153c36195386a949e5e14a5f474284
parentc9e6a15196a87fd1aa923b9ee0f6ff736ad6d33b
Stats database fixes to avoid naming conflicts in the database
and to do proper dumping of non-binned stats.

base/stats/mysql.cc:
    have configure return whether or not the stat is a printable
    stat.  This avoids naming problems in the database.
    don't store non printable stats.
    dump non-binned stats into the special bin 0
base/stats/mysql.hh:
    have configure return whether or not the stat is a printable
    stat.  This avoids naming problems in the database.

--HG--
extra : convert_revision : e33b115d605226a838eee2e6489e03b8d77ffc02
base/stats/mysql.cc
base/stats/mysql.hh