gem5/base
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
..
compression Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
loader Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
bitfield.hh Import changeset 2003-10-07 10:41:54 -04:00
callback.hh Clean up callbacks 2003-10-20 21:38:32 -04:00
circlebuf.cc A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
circlebuf.hh A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
cprintf.cc Minor cleanup of trace/output stuff (leftover from EINTR bug fix). 2003-12-19 08:04:40 -08:00
cprintf.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
cprintf_formats.hh Import changeset 2003-10-07 10:41:54 -04:00
date.cc Import changeset 2003-10-07 10:41:54 -04:00
dbl_list.hh Import changeset 2003-10-07 10:41:54 -04:00
endian.hh Import changeset 2003-10-07 10:41:54 -04:00
fast_alloc.cc Add #define parameter and corresponding build option to 2003-12-15 20:55:10 -08:00
fast_alloc.hh Add #define parameter and corresponding build option to 2003-12-15 20:55:10 -08:00
fifo_buffer.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
fifo_buffer.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hashmap.hh Make the simulator compile on an Itanium. 2003-12-09 17:41:08 -05:00
hostinfo.cc Add support for getting the hostname 2003-12-15 18:24:02 -05:00
hostinfo.hh Add support for getting the hostname 2003-12-15 18:24:02 -05:00
hybrid_pred.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hybrid_pred.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inifile.cc Make stuff build on openbsd 2003-12-19 00:02:20 -05:00
inifile.hh Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
intmath.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
intmath.hh Need to cast to avoid infinite recursion. 2003-10-15 17:36:10 -04:00
kgdb.h Import changeset 2003-10-07 10:41:54 -04:00
misc.cc Make error messages more informative on a non-full-system fault. 2003-11-01 10:59:06 -08:00
misc.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
mod_num.hh Import changeset 2003-10-07 10:41:54 -04:00
pollevent.cc Miscellaneous minor fixes/improvements. 2003-12-17 09:43:03 -08:00
pollevent.hh Add support for serialization 2003-10-30 15:15:27 -05:00
predictor.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
random.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
random.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
range.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
refcnt.hh Import changeset 2003-10-07 10:41:54 -04:00
remote_gdb.cc remote_gdb.cc: 2003-12-04 19:26:31 -05:00
remote_gdb.hh Initial support for CPU switching. New SamplingCPU object encompasses a set 2003-10-23 19:07:52 -07:00
res_list.hh Global whitespace fixes 2003-10-15 16:39:37 -04:00
sat_counter.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
sat_counter.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
sched_list.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.hh Import changeset 2003-10-07 10:41:54 -04:00
statistics.cc Add python output support to the statistics package! 2003-12-24 03:25:36 -05:00
statistics.hh Add python output support to the statistics package! 2003-12-24 03:25:36 -05:00
str.cc Make the to_number function work better. 2003-10-31 18:27:17 -05:00
str.hh Clean up time handling code 2003-12-15 18:23:48 -05:00
time.cc Clean up time handling code 2003-12-15 18:23:48 -05:00
time.hh Clean up time handling code 2003-12-15 18:23:48 -05:00
trace.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
trace.hh Miscellaneous minor fixes/improvements. 2003-12-17 09:43:03 -08:00