summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-12-10Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(),Steve Reinhardt
and SimpleCPU::setStatus() into separate functions. For example, setStatus(Active) is now activate(). --HG-- extra : convert_revision : 4392e07caf6c918db0b535f613175109681686fe
2003-12-09Minor fixes. Somehow do-tests.pl suddenly started failingSteve Reinhardt
on test5 because of a wrong exit code; fixed that. sim/main.cc: No need to ignore SIGPIPE, as far as I know. sim/sim_events.cc: A CountedExitEvent is a normal termination, so should have an exit code of 0. --HG-- extra : convert_revision : 8b5072aca54f3ca08b2815b73ac01c00e4da49b6
2003-12-09Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : c8d6f2e6f590b7d1940b889bbec09e0e46f48c86
2003-12-09Make the simulator compile on an Itanium.Nathan Binkert
base/hashmap.hh: Not all machines need these extra hash functions also make Counter int64_t since that's really what is needed --HG-- extra : convert_revision : b5b5d65db157d01d76adbf4de4882b1516c9f2e7
2003-12-09Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : c74b502bf44ac300e44c9aa7d6d6e3c55a511893
2003-12-09Minor tweaks to make a switchover at tick N matchSteve Reinhardt
restarting from a checkpoint at tick N. cpu/simple_cpu/simple_cpu.cc: On a CPU switchover, schedule the new CPU's first tick event for curTick+1 instead of curTick. --HG-- extra : convert_revision : f0757d6f028214d36c1cff992db688fd6e8a6fdc
2003-12-09Generate a fault when a privileged PAL call isSteve Reinhardt
executed in non-privileged (non-PAL) mode. --HG-- extra : convert_revision : c8823a1eec27d801a1ed6110ade07354c4dd2a32
2003-12-09Sweeping change in the stats package....again...Nathan Binkert
base/statistics.cc: - Merge the m5 display and simplescalar compatible display functions. - Use functors for the stats printing instead of functions. This gets rid of the very long argument lists and improves clarity. - Fix a bug in binning that caused an invalid allocation to occur. base/statistics.hh: - Instead of using a compile time variable to choose whether to print in ss compat mode, we use a runtime variable. This is how we'll choose python output. - There are no more virtual functions in the statistics themselves. All virtual functions have been moved into a secondary helper class. Every stat has an associated helper class that knows how to access certain variables in that stat. There is a hash_map from the stat to it's helper class data. This was done because the helper data is only used during setup, stats reset, and printing. All of which happen rarely, and you want to avoid any performance hit that you can. - To provide the name(), desc(), etc functions to classes so that the user can set various parameters to the stats class, a single class containing all of those functions was created. An odd trick was done to actually make this class derive from the stat class because a base class with no data actually does end up taking up space. - The detail namespace was removed for now. I'll put it back when the package is not in so much flux. - Standard deviation, and mean were added to all distribution stats. - There are several bugfixes and changes that aren't mentioned test/Makefile: Don't test sim_stats foo. test/stattest.cc: Don't test sim_stats foo. Fix bin usage so that it corresponds to the current usage. --HG-- extra : convert_revision : ce8d9a8d485a84d55799f253d851e83650684170
2003-12-08Remove mostly-broken binning stuff from "get"Steve Raasch
Add parser debugging command-line option --HG-- extra : convert_revision : 2f8a450f11ed10c3d1a5e8e58232aa8f3e5994c2
2003-12-08Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5Steve Raasch
into zizzer.eecs.umich.edu:/y/sraasch/m5 --HG-- extra : convert_revision : 4e50e20af73d181de7365c9b77de78d70fcede8d
2003-12-08Fetch-loss now uses the stats packageSteve Raasch
--HG-- extra : convert_revision : c930a849e866177ceb67ec5db9444e8cfb4e0694
2003-12-08Instead of keeping track of the fraction of time that we'reNathan Binkert
idle, keep track of the fraction of time we're not idle. This works better because the default processor state is idle, and the default stat value is 0. Keep the stat as idleFraction which is a formula that is equal to 1 - notIdleFraction --HG-- extra : convert_revision : 331c2e46f45ae0abda46988567ac2c4f7c42ccad
2003-12-08move setStatus into the .cc fileNathan Binkert
--HG-- extra : convert_revision : 9ccf885274d72ea3151a0db76b580dd51763edab
2003-12-06Various cleanup. Mostly forcing initialization of some fields...Steve Reinhardt
I noticed that checkpoints dumped from m5.debug and m5.opt had differences, which is no longer the case (other than addresses encoded in names). cpu/full_cpu/smt.hh: Get rid of unused SMT_MAX_CPUS. sim/debug.cc: Use AutoDelete for DebugBreakEvent. sim/serialize.cc: sim/serialize.hh: Move constructor & destructor to header so they can be inlined. --HG-- extra : convert_revision : bc68c2c9b053b1de0d655ed555734419fafd0b83
2003-12-04remote_gdb.cc:Lisa Hsu
fix remote gdb base/remote_gdb.cc: fix remote gdb --HG-- extra : convert_revision : 886cad5037e2124e6087be03f2903f07aeed0679
2003-12-03Minor fixes to the Segmented and Seznec IQ modelsSteve Raasch
--HG-- extra : convert_revision : c8f9dc0465da1b119d6cf7d4eb599f0a16a25c92
2003-12-01Formatting & doxygen docs for new syscall emulation code.Steve Reinhardt
arch/alpha/alpha_linux_process.cc: arch/alpha/alpha_linux_process.hh: arch/alpha/alpha_tru64_process.cc: arch/alpha/alpha_tru64_process.hh: sim/syscall_emul.cc: sim/syscall_emul.hh: Formatting & doxygen. --HG-- extra : convert_revision : 4f07dd37e254120800dd0d5c0eb47acc9c00cb3f
2003-12-01Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : d66ebc598fdcfc9477ea5a1e455b21d7b9e56936
2003-12-01Restructuring of LiveProcess etc. to support multiple emulated OS syscallSteve Reinhardt
interfaces, and specific support for Alpha Linux. Split syscall emulation functions into several groups, based on whether they depend on the specific OS and/or architecture (and all combinations of above), including the use of template functions to support syscalls with slightly different constants or interface structs. arch/alpha/alpha_tru64_process.cc: Incorporate full Tru64 object definition here, including structure and constant definitions. This way we can wrap all of the functions inside the object, and not worry about namespace conflicts because no one outside this file will ever see it. base/loader/aout_object.cc: base/loader/aout_object.hh: base/loader/ecoff_object.cc: base/loader/ecoff_object.hh: base/loader/elf_object.cc: base/loader/elf_object.hh: base/loader/object_file.cc: base/loader/object_file.hh: Add enums to ObjectFile to indicate the object's architecture and operating system. cpu/exec_context.cc: prog.hh is now process.hh cpu/exec_context.hh: prog.hh is now process.hh move architecture-specific syscall arg accessors into ExecContext cpu/simple_cpu/simple_cpu.cc: No need to include prog.hh (which has been renamed) sim/process.cc: sim/process.hh: LiveProcess is now effectively an abstract base class. New LiveProcess::create() function takes an object file and dynamically picks the appropriate subclass of LiveProcess to handle the syscall interface that file expects (currently Tru64 or Linux). --HG-- rename : arch/alpha/fake_syscall.cc => arch/alpha/alpha_tru64_process.cc rename : sim/prog.cc => sim/process.cc rename : sim/prog.hh => sim/process.hh extra : convert_revision : 4a03ca7d94a34177cb672931f8aae83a6bad179a
2003-11-25Change the way writebacks are handled to make probing easier. Minor fixes to ↵Erik Hallnor
get coherence-test to work again. --HG-- extra : convert_revision : 86915c6651e72ca4cbf85111599e451237f74a71
2003-11-24Extract documentation for all classes.Erik Hallnor
--HG-- extra : convert_revision : 17428b19a2230199a8ac79b7d8f727d58d3428ac
2003-11-23get rid of the errors from simple-test1 and test1-6Lisa Hsu
base/statistics.cc: fix how some stats are printed to get rid of some of those pesky regression errors. this does not fix all of them, just the unimportant ones. --HG-- extra : convert_revision : 247675fd5bbb47e29c8c077a8d2b2996be1b7072
2003-11-22Go Blue!!!!Nathan Binkert
base/statistics.hh: Simple formatting fixes --HG-- extra : convert_revision : 608fe1c37f58426d65cb5ec172764a6b610be6c8
2003-11-22Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into zans.eecs.umich.edu:/z/binkertn/research/m5/stats --HG-- extra : convert_revision : cc1611895ad790cdaff75f752f10c048a5bff323
2003-11-22We only need to choose that we do want binning, or we don't.Nathan Binkert
no need for multiple bin classes. If multiple bins are needed, we can always do it with ini type config instead. kern/tru64/tru64_events.hh: sim/system.cc: sim/system.hh: No more GenBin always use MainBin --HG-- extra : convert_revision : 8c466f302324c33b59d47d0da04583b2517fc72c
2003-11-20Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 184533b3ec794bdff49cd1a6b8f2814f7af4237c
2003-11-20full_cpu.cc:Lisa Hsu
change name of numTicks to "numTicks" instead of "number of ticks" (which screws up scripts). --HG-- extra : convert_revision : 9f68c5586743ea4c284609b405d5d9f23bd7cd49
2003-11-19Pass all the related information (the memreq) to the findBlock call. Working ↵Erik Hallnor
towards not caring about block addresses anymore. --HG-- extra : convert_revision : 5700b8e843cd97c9bf1793d81615e65f1cf1e1aa
2003-11-19Pass MemReqPtr by reference.Erik Hallnor
--HG-- extra : convert_revision : 141d50bb0bb010cee38231ec7b7289fa834b37d5
2003-11-19Move some MSHR typedefs into the class, transition from MSHRblah to MSHR::blah.Erik Hallnor
--HG-- extra : convert_revision : 4deb260e4374ca05f965cfc27169e838971d5e0f
2003-11-15make the name consistent with what it does.Nathan Binkert
--HG-- extra : convert_revision : 34ad9362bfe8a80a4c4ed332f7254f99da51c015
2003-11-14Make it so that we create a directory for each checkpoint so thatNathan Binkert
there aren't so many files littering your directory dev/disk_image.cc: Checkpoints now in a directory sim/serialize.hh: Make it so that we create a directory for each checkpoint so that there aren't so many files littering your directory. Remove unused variable --HG-- extra : convert_revision : 261824eee62f7b68f6ae6e3dbd49ad5128ced148
2003-11-12statistics.cc:Nathan Binkert
Only reactivate the original bin if it actually exists. base/statistics.cc: Only reactivate the original bin if it actually exists. --HG-- extra : convert_revision : e71ba0680d79ca439487a31d8f365429bff8c375
2003-11-12in the case where we don't have any bins, we don't want to panicNathan Binkert
--HG-- extra : convert_revision : e9056ca020d0f3db388b31a074b03e4d521f8705
2003-11-12Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : bb9bba89ad0b25b0a4748bf46b714e2259321ad9
2003-11-12Change setup scheme to split base configurations from configuration options.Steve Reinhardt
Completely backward compatible except for setup file locations. See comment in setup script for more details. --HG-- extra : convert_revision : 4e4a28bcbe36e0c6fd688dd133274bb80ae442f5
2003-11-12Merge ehallnor@zizzer:/bk/m5Erik Hallnor
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5 --HG-- extra : convert_revision : 7835ada99c5ff47a9013d2827311a24e1447ac16
2003-11-12Create a compressed cache if there is a compressed bus or data should be ↵Erik Hallnor
stored compressed --HG-- extra : convert_revision : eade8951bed25a222e5e1ee370d431ec5c0a200d
2003-11-12Add config for simple purely functional simulation (no caches).Steve Reinhardt
--HG-- extra : convert_revision : e2466d051e67d76e841416deeb95974c8f9516fe
2003-11-12Rewrite getdirentries to replace SS-derived version.Steve Reinhardt
--HG-- extra : convert_revision : 72eced315bbb331d3068279e60f1f0a390eb687a
2003-11-09Minor enhancements to rundiff script.Steve Reinhardt
util/rundiff: Make sure Algorithm::Diff is loaded only if you need it (so it's ok if you don't have it installed). Add command-line options for things you might want to change: - diff algorithm - # of context lines - # of lines of lookahead --HG-- extra : convert_revision : b3ba02e1816eee286f47eb28ab578fa4734bac3a
2003-11-09Setup to build with gcc 3.3.2.Steve Reinhardt
--HG-- extra : convert_revision : 27e73ded6c1a2089427391bfdf1afa1f020ba14f
2003-11-09ISCA hack is for FULL_SYSTEM only.Steve Reinhardt
--HG-- extra : convert_revision : a90fec583e6147bda8023da7f405aeecdb469128
2003-11-07Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5Steve Raasch
into zizzer.eecs.umich.edu:/y/sraasch/new_head --HG-- extra : convert_revision : 05dbe5ff1097b16430b647e599e56c556683c026
2003-11-07updates for the new stats formatSteve Raasch
--HG-- extra : convert_revision : 7da435e2369a0ab4647f033e9ce16125ac7b9302
2003-11-07It's important that there be white-space between each elementSteve Raasch
of a printed statistics line. base/statistics.cc: Add spaces between printed elements --HG-- extra : convert_revision : edcc9460fa178c39f7e3c15b3bad866ef9b263e4
2003-11-07add a couple of hacks to get thigns going for ISCANathan Binkert
arch/alpha/pseudo_inst.hh: Give temporary access of these functions to full cpu junk (this is a hack!) --HG-- extra : convert_revision : 35499d6bf03b1c21dc918ccc09a6d21719262120
2003-11-07Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5Lisa Hsu
--HG-- extra : convert_revision : 60b307d827220ba76b607d3f18d4fa00ab3fb1d5
2003-11-07save and restore the current bin during reset since weNathan Binkert
should continue in whatever bin we were in. --HG-- extra : convert_revision : 30a891ccb03afa0c1dd0c98942ab3ea5ba800660
2003-11-07add a numTicks stat to detailed cpu.Lisa Hsu
--HG-- extra : convert_revision : 91ba6216d4d309670b2366729b8bcf1ddc4d2198