History log of /gem5/util/stats/info.py
Revision Date Author Comments
# 2716:b9114064d77a 11-Jun-2006 Nathan Binkert <binkertn@umich.edu>

Merge iceaxe.:/Volumes/work/research/m5/head
into iceaxe.:/Volumes/work/research/m5/merge

src/cpu/simple/base.cc:
src/kern/kernel_stats.cc:
src/kern/kernel_stats.hh:
src/kern/system_events.cc:
src/kern/system_events.hh:
src/python/m5/objects/System.py:
src/sim/system.cc:
src/sim/system.hh:
hand merge


# 2665:a124942bacb8 31-May-2006 Ali Saidi <saidi@eecs.umich.edu>

Updated Authors from bk prs info


# 2343:a2b4a6ccee56 10-Jun-2006 Nathan Binkert <binkertn@umich.edu>

Remove all binning stuff


# 2015:fab23b1eb6f4 19-Dec-2005 Nathan Binkert <binkertn@umich.edu>

Create the ProxyError Exception. Raise it when an unproxy
operation fails because information is wrong or not available.


# 1987:256b113e2c2e 20-Nov-2005 Nathan Binkert <binkertn@umich.edu>

Deal with divide by zero in the python stats stuff.

util/stats/info.py:
If an operation results in a divide by zero, just return None


# 1986:b7d11bab72eb 20-Nov-2005 Nathan Binkert <binkertn@umich.edu>

implement __str__ for all of the proxy stuff so we can
actually print out a statistic.


# 1934:84c12fdd57f9 21-Oct-2005 Nathan Binkert <binkertn@umich.edu>

Fix a couple of bug in the values() vector accessor

util/stats/db.py:
need to import the values function
util/stats/info.py:
it's just run


# 1929:fb189519cb06 21-Oct-2005 Nathan Binkert <binkertn@umich.edu>

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


# 1772:a3a83e812a5e 05-Jun-2005 Nathan Binkert <binkertn@umich.edu>

Cleanup copyright stuff. Add our copyright files that
are ours

arch/alpha/alpha_linux_process.hh:
arch/alpha/alpha_tru64_process.hh:
base/loader/object_file.cc:
base/loader/object_file.hh:
sim/process.cc:
sim/process.hh:
remove $Id$ string
cpu/ozone/cpu.cc:
cpu/ozone/cpu_impl.hh:
cpu/ozone/ea_list.cc:
cpu/ozone/ea_list.hh:
kern/linux/sched.hh:
kern/linux/thread_info.hh:
Add M5 Copyright
cpu/trace/opt_cpu.cc:
dev/rtcreg.h:
nit
kern/linux/aligned.hh:
kern/linux/hwrpb.hh:
util/oprofile-top.py:
util/stats/db.py:
util/stats/dbinit.py:
util/stats/display.py:
util/stats/info.py:
util/stats/print.py:
util/stats/stats.py:
Cleanup copyright


# 1758:74acd5b23964 05-Jun-2005 Ali Saidi <saidi@eecs.umich.edu>

added copyright

kern/linux/sched.hh:
kern/linux/thread_info.hh:
got rid of everything but exactly what we needed
util/categories.py:
newest version from one of my repositories


# 1547:1f0c266940d4 15-Mar-2005 Nathan Binkert <binkertn@umich.edu>

get rid of issequence and just use the isinstance builtin


# 1369:40c6c8864896 03-Feb-2005 Nathan Binkert <binkertn@umich.edu>

get rid of defined and just access the env dict directly
get rid of the alias for true to True and false to False to keep
consistent python syntax.

util/stats/info.py:
Fix typo


# 1331:a0b8619e0e72 19-Jan-2005 Ali Saidi <saidi@eecs.umich.edu>

added total bytes/bandwidth/packets formulas to nics
cleaned up stability code and wrote some better help for stats.py
fixed sample bug in info.py

dev/ns_gige.cc:
dev/ns_gige.hh:
dev/sinic.cc:
dev/sinic.hh:
add total bandwidth/packets/bytes stats
util/stats/info.py:
fixed samples bug
util/stats/stats.py:
cleaned up stability code and wrote a bit better help


# 1329:1e7bd1684f64 18-Jan-2005 Ali Saidi <saidi@eecs.umich.edu>

Ability to check formulas


# 1301:f85f6fb43474 13-Jan-2005 Ali Saidi <saidi@eecs.umich.edu>

fix a display bug
add option to limit results to a set of ticks
fix ticks code to work

util/stats/info.py:
change samples -> ticks and pass all parameters
util/stats/stats.py:
add option to select a set of ticks and fix display bug


# 1269:419b73347a1e 18-Nov-2004 Nathan Binkert <binkertn@umich.edu>

stats python fixes for dealing with vectors better. graph tweaking
ipkb stat and formulas from the command line.

util/stats/info.py:
no need to raise an attribute error if two values aren't found
in the exact same set of runs. Would be good to check that each
run is the same though.
util/stats/stats.py:
more graph tweaking
command to execute a formula from the command line.
add interrupts per kilobyte of data


# 1165:234f3cdd541a 15-Nov-2004 Nathan Binkert <binkertn@umich.edu>

Fix more of the stats python stuff

util/stats/info.py:
Make the binnings stuff work again.
util/stats/stats.py:
small patch for graphing
make it so we can print out bins for the stat command


# 1049:b175a798c8d4 09-Aug-2004 Nathan Binkert <binkertn@umich.edu>

Totally re-do/reorganize the python part of the statistics code
Make the database creation/removal/cleanup code use python
Make formulas work with the database
Add support to do some graphing, but needs more work
Still need to work on vectors, 2d vectors, dists and vectordists