Age | Commit message (Collapse) | Author |
|
statStream catchall that we had before)
Also provide an optional output directory that multiple simulator output
files can be written to.
Make most output files use the output directory
base/misc.cc:
send warnings to the outputStream as well
base/trace.cc:
dprintf_stream defaults to cerr
dev/console.cc:
use the output directory for the console output if it exists
dev/etherdump.cc:
dump to the output directory if it exists
sim/builder.cc:
sim/builder.hh:
move constructor and destructor to .cc file
use a function to get the stream that the builder dumps its
output to, and create a separate file in the output directory
if able
sim/main.cc:
statStream -> outputStream
sim/serialize.cc:
dump checkpoints to the output directory if specified
sim/universe.cc:
provide an output stream for simulator output. (This takes place of the
statStream catchall that we had before)
Also provide an optional output directory that multiple simulator output
files can be written to.
--HG--
extra : convert_revision : 03abce20edbbf7ec19c9ddd8d69ec8485c383532
|
|
Also, compare real paths to ensure that the links point
to the right place
--HG--
extra : convert_revision : f4127a67f02b714808c6d2181fabf245ed2309c0
|
|
base/statistics.cc:
dead code
--HG--
extra : convert_revision : 8f3fd638acdf7a704475ea90b607a3225a3c174d
|
|
--HG--
extra : convert_revision : dff311c1a18bd01750c1b5902410c23e0f43b798
|
|
--HG--
extra : convert_revision : 145d56564ccca3a3c1c3d9115a4b8a5fb52c301d
|
|
--HG--
extra : convert_revision : 953bc2f1ceab1cec9f48d65b94cc075655f6e9ec
|
|
--HG--
extra : convert_revision : 2005ed2f551f2a80cbf62a41daaa3c4fa5af6fb3
|
|
arch/alpha/isa_desc:
don't say warn: Warning:
base/misc.cc:
avoid printing two newlines in a row
sim/main.cc:
print out a message just before we enter the event queue
--HG--
extra : convert_revision : 2a824d4b67661903fc739a0fb0759aa91d72382c
|
|
--HG--
extra : convert_revision : 47f69e4fb2d8727927e40fb6f2abf3dcab654c12
|
|
--HG--
extra : convert_revision : 66baf998671a24e6a630d2f35c2f529418cd4d5b
|
|
generate a checkpoint that an m5.debug simulator can use
--HG--
extra : convert_revision : eec2d94013119236a9c65c9b5fb6c2ccb0480f51
|
|
--HG--
extra : convert_revision : 928588d46fa069e869416f4f5df8041849625e9f
|
|
--HG--
extra : convert_revision : 4bf69125c37a067a3a06022226a7eb38dcaaf6d1
|
|
the interfaces. This allows new bus models to be used without major hassle. And I thought it was time to change it all again anyways.
cpu/simple_cpu/simple_cpu.cc:
Switch doEvents to doEvents()
--HG--
extra : convert_revision : 14b9517017e76c7b941247004393bf260f397d9a
|
|
--HG--
extra : convert_revision : b79519452947ea7b110922d5a3dae2f3dfc0b916
|
|
but did not test... however the only thing this
affects in libelf is the header, so I don't expect
any functional problems.
base/loader/elf_object.cc:
Set LIBELF_LINUX to 0 to build on zax.
--HG--
extra : convert_revision : d024b33deff6fc8ea6f1d465f76dc8d9d63254ab
|
|
to find and remove stats from the files so we can put less
burden on the python interpreter.
base/statistics.cc:
Manually insert newlines into the python code so that we now have one
stat per line. (Make it so we can use grep -v to remove stats)
test/stattest.cc:
update to reflect changes in how python is accessed
--HG--
extra : convert_revision : 554edcf9c795b33d00d3d15554447c8accebebfa
|
|
--HG--
extra : convert_revision : a7680d5cdeac96345e8f521cfb96fccaa3e7a7f6
|
|
--HG--
extra : convert_revision : 3434f60fa08d1543358c1209be8a5cfbe43a53bf
|
|
--HG--
extra : convert_revision : de591f6ecfc9a0a20caefb4b82084d1b2ef3433b
|
|
base/loader/elf_object.cc:
- Use program header instead of section headers for loading.
The old code doesn't work for Alpha/Linux user binaries.
- Deal properly with single-segment ELF executables (e.g. kernels)...
haven't tested this but it looks like it matches the functionality
of the patch the L4::Pistachio guys sent.
- Factor load symbol code into one common function.
- Some formatting to match style conventions.
- Only include libelf stuff in .cc file, not .hh.
base/loader/elf_object.hh:
- Use program header instead of section headers for loading.
The old code doesn't work for Alpha/Linux user binaries.
- Factor load symbol code into one common function.
- Only include libelf stuff in .cc file, not .hh.
--HG--
extra : convert_revision : 782062d09d43083b01e65cd645c941f49c27640a
|
|
class
--HG--
extra : convert_revision : 04feb72fc4edbbbe1b37b7f618c9fbcbc8a72358
|
|
so that we can make the first switch time relative.
--HG--
extra : convert_revision : c81beba2e1bd8629d6c7b386bb213980434030ec
|
|
--HG--
extra : convert_revision : ec56a839a0489c5494bfcd9ead0fc3866f1e8ac2
|
|
--HG--
extra : convert_revision : a65f77d6ab704609d9c2ae2c85d4f893fa198cf9
|
|
--HG--
extra : convert_revision : 52437e42f15899db46525ad91b2e43c2a96ace36
|
|
(do_data and do_events). If you use the defaults (false and true respectively) you don't have to change your INI files.
arch/alpha/isa_traits.hh:
Add a constant for the maximum address value called MaxAddr.
--HG--
extra : convert_revision : 1371e8b713cc6ed134093e9c208db35dc9741ac7
|
|
which stats to print
- print out the subname
--HG--
extra : convert_revision : 2960bd33654e55fe0f6279b09dce42b1216188c8
|
|
--HG--
extra : convert_revision : 74555b2676fe20d4a742a272b6c97e3a8a237d68
|
|
--HG--
extra : convert_revision : 04c9ff03880f55483466e56109536b74d9163ccd
|
|
Still needs a lot of work, but it's at least as good as the
normal output, and has some features that normal ouput is missing
such as bin totalling with correct formulas and totalling of
2d vectors and such. It will also filter out specific stats
for printing. (basically grep, but no mistakes.)
--HG--
extra : convert_revision : 05d0f0489483a32145cf6508122cfbc7ea57e204
|
|
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision : bff2fb78e205f327ce8d04f3ae1b2352857ab824
|
|
--HG--
extra : convert_revision : 77dd858344a74dea15bb36bcb0de04f3af9260f3
|
|
Move global checkpoint-related functions and vars into Checkpoint class (as statics).
arch/alpha/pseudo_inst.cc:
dev/disk_image.cc:
Move global checkpoint-related functions and vars
into Checkpoint class (as statics).
sim/serialize.cc:
Move global checkpoint-related functions and vars
into Checkpoint class (as statics).
Checkpoint constructor now takes checkpoint directory name instead
of file name.
Make serialize:dir parameter actually set checkpoint directory name
instead of directory in which checkpoint directory is created. If
the value contains a '%', the curTick value is sprintf'd into the
format to create the directory name. The default is backwards compatible
with the old fixed name ("m5.%012d").
sim/serialize.hh:
Move global checkpoint-related functions and vars
into Checkpoint class (as statics).
Checkpoint constructor now takes checkpoint directory name instead
of file name.
--HG--
extra : convert_revision : d0aa87b62911f405a4f5811271b9e6351fdd9fe4
|
|
base/cprintf.cc:
Fix bug where a call with a format string with no specifiers
but one or more arguments would crash. Old code tried to print
extra args using last available format, but in this case there
was no format, hence the problem. Now we just print "<extra arg>"
for each extra arg.
Also reorganized code a bit to make scope of fmt variable
match the scope in which you can be confident it's meaningful.
base/cprintf.hh:
Print specific error message instead of calling format_invalid().
base/cprintf_formats.hh:
Clear Format object in constructor.
Use specific error messages instead of format_invalid() function.
--HG--
extra : convert_revision : 87d5e902174e3eb2583131d056742af166540db0
|
|
--HG--
extra : convert_revision : 4a7b91821e2de64e400417f8ac503af7e596571d
|
|
machine.
base/loader/elf_object.hh:
put #defines for libelf that normally arn't defined so that -Wundef
doesn't cause problems.
--HG--
extra : convert_revision : fa2de6aa94c7ddbaa59990db4473402b0df7d93a
|
|
--HG--
extra : convert_revision : 78c9445993a84b68be1b0a477555246f1ea6ce0c
|
|
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision : b7411b25ae9e3a546996aec59e1a67cbe728da85
|
|
and setup filed had to be modified to build libelf. The ext repository
MUST exist in the directory below m5!
base/loader/elf_object.cc:
base/loader/elf_object.hh:
now uses libelf to read elf binaries
--HG--
extra : convert_revision : b70511f5379edf35d639f3bb64b786cb0bd180af
|
|
fix some bugs
base/statistics.cc:
- Move the python dump stream stuff into the statistics package
because it needs more control over the file when there
are multiple dumps
- add a subname to the output
- make all of the stats a list instead of variable arguments to
get around the 255 argument limit
- the description needs to be triple quoted
- avoid errors for formulas that don't have any root element
set up.
base/statistics.hh:
- get rid of mode_python and just separate python dumping from
regular stats dumping
- fix a huge bug that made a Formula use a VectorData instead
of a FormulaData
--HG--
extra : convert_revision : 7303cff3ccdcc3d306ab17375219fc7fecac7e5e
|
|
--HG--
extra : convert_revision : 37d30638eb0d988fc1089c7945f535e2979ca8e4
|
|
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
|
|
python dumping takes a name for the output data
base/statistics.cc:
base/statistics.hh:
initial basic hooks into the stats package to output python code
--HG--
extra : convert_revision : 37f52dc03df50aa90346dc9ca341f961e7e855e8
|
|
base/statistics.hh:
- use a typedef to get at bin_t
- clean up template declaration
- public access to typedefs
--HG--
extra : convert_revision : 0650c5a1cba51c7af04790498af0d354884be0ee
|
|
--HG--
extra : convert_revision : f859244880dcc2be9424edaac0c73adfd467221e
|
|
--HG--
extra : convert_revision : 99bd142099482dbd04645a0f44ac63d2467b883c
|
|
base/statistics.cc:
- give an internal name to statistics that aren't printable
- speed up reset a tad
- Make sure that the original value of the current bin is restored properly
- check for the case where there are no subnames so we don't have an error
- check to make sure that the formula's root is set before accessing it
base/statistics.hh:
- clean up includes a bit
- deal with the case where there are no subnames
- get rid of remnants of FS_MEASURE stuff
--HG--
extra : convert_revision : 1e4338fc2b225647df47641b04c13b7046b2e114
|
|
--HG--
extra : convert_revision : 921ad80a5c671fee9eab3f389636dccc101d18f6
|
|
- make init and print StatFlags
- default_mode -> DefaultMode
- the display mode is no longer needed as part of the stat
pass it into the display functions so the mode can be determined
from dump to dump
- get rid of old simplescalar bug and make the distribution min_val
work correctly
- get rid of the DisplayMode parameter to distribution updates since
it is no longer needed
--HG--
extra : convert_revision : 386f69f4d12fb91faf60690aaab08542e009e555
|