gem5/util
Nathan Binkert e00237e49e Major cleanup of the statistics handling code
util/stats/db.py:
    Build a result object as the result of a query operation so it is
    easier to populate and contains a bit more information than just
    a big dict.  Also change the next level data into a matrix instead
    of a dict of dicts.
    Move the "get" function into the Database object.  (The get function
    is used by the output parsing function as the interface for accessing
    backend storage, same interface for profile stuff.)
    Change the old get variable to the method variable, it describes how
    the get works, (whether using sum, stdev, etc.)
util/stats/display.py:
    Clean up the display functions, mostly formatting.
    Handle values the way they should be now.
util/stats/info.py:
    Totally re-work how values are accessed from their data store.
    Access individual values on demand instead of calculating everything
    and passing up a huge result from the bottom.
    This impacts the way that proxying works, and in general, everything
    is now esentially a proxy for the lower level database.  Provide new
    operators: unproxy, scalar, vector, value, values, total, and len which
    retrieve the proper result from the object they are called on.
    Move the ProxyGroup stuff (proxies of proxies!) here from the now gone
    proxy.py file and integrate the shared parts of the code.  The ProxyGroup
    stuff allows you to write formulas without specifying the statistics
    until evaluation time.

    Get rid of global variables!
util/stats/output.py:
    Move the dbinfo stuff into the Database itself.  Each source should
    have it's own get() function for accessing it's data.
    This get() function behaves a bit differently than before in that it
    can return vectors as well, deal with these vectors and with no result
    conditions better.
util/stats/stats.py:
    the info module no longer has the source global variable, just
    create the database source and pass it around as necessary

--HG--
extra : convert_revision : 8e5aa228e5d3ae8068ef9c40f65b3a2f9e7c0cff
2005-10-21 16:29:13 -04:00
..
ccdrv added nate's memtest code to devtime 2004-08-18 23:12:16 -04:00
emacs Don't indent namespaces because it just wastes space 2004-03-24 10:25:18 -05:00
m5 Many files: 2005-06-05 05:16:00 -04:00
pbs fix pbs dependency stuff 2005-10-19 02:10:24 -04:00
stats Major cleanup of the statistics handling code 2005-10-21 16:29:13 -04:00
tap Reorganize tap code so that more than one method can be used 2005-06-27 19:30:19 -04:00
term Many files: 2005-06-05 04:21:22 -04:00
oprofile-top.py Cleanup copyright stuff. Add our copyright files that 2005-06-05 11:02:38 -04:00
qdo Fix for qdo & new pool node build. 2005-09-29 16:03:36 -04:00
regress Commit regression script. The cron job uses a copy in m5test's 2005-10-01 11:36:56 -04:00
rundiff Miscellaneous minor fixes/improvements. 2003-12-17 09:43:03 -08:00
sort-includes Check in a first stab at a script to sort the #include lines in a source file. 2003-10-19 17:42:51 -07:00
tracediff just make a minor commenting change reflecting the new way to set up command line arguments. 2005-06-05 02:38:39 -04:00