c5da35e8d5
add a numTicks stat to detailed cpu.
Lisa Hsu
2003-11-07 01:03:26 -05:00
a03221b6ca
track the idle_thread() function in the kernel, so that we can know if we are idle during a run.
Lisa Hsu
2003-11-07 00:14:38 -05:00
3a99657c8f
change the path that i track from two separate paths to one.
Lisa Hsu
2003-11-06 23:18:47 -05:00
7ec4f7d211
Quick hack to make the simulator exit after the last period.
Nathan Binkert
2003-11-06 20:34:45 -05:00
7c01c2e210
"remove SWContext * from map when it is context switched in"
Ron Dreslinski
2003-11-06 20:08:45 -05:00
5138fa008d
Make sure to serialize the bool that signifies a pending interrupt
Ron Dreslinski
2003-11-06 18:47:33 -05:00
850a6a8eff
Merge ehallnor@zizzer:/bk/m5 into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
Erik Hallnor
2003-11-06 18:40:08 -05:00
aead4c315b
Various fixes to memory code.
Erik Hallnor
2003-11-06 18:39:26 -05:00
9915bd17c2
Nat's fix for compile bug
Steve Raasch
2003-11-06 12:57:06 -05:00
07d56ae7be
better binning of Average stats
Nathan Binkert
2003-11-06 02:28:27 -05:00
655e9ef3de
Little fixes to make more of the stats reset correctly.
Nathan Binkert
2003-11-06 00:41:14 -05:00
22658f2098
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu
2003-11-05 23:38:57 -05:00
9020491833
add things to track read and soo_read for specweb.
Lisa Hsu
2003-11-05 23:38:51 -05:00
f2881c752e
Ok, actually call resetStats on all stats minor gratuitous cleanup in printAllExtraOutput. (only create one end iterator)
Nathan Binkert
2003-11-05 21:17:13 -05:00
b064b8a6fd
Add a virtual function resetStats() that any SimObject can inherit from that will get called any time stats are reset.
Nathan Binkert
2003-11-05 18:21:18 -05:00
9471a4d20f
Fix stats reset make SIGUSR2 dump and reset stats Make resetting time work
Nathan Binkert
2003-11-05 17:57:41 -05:00
74fd8b1ad1
fix equations add averaging mechansim for binning
Steve Raasch
2003-11-05 15:37:21 -05:00
3dc30283cf
Fix for minor oops found by insure
Steve Raasch
2003-11-05 12:51:54 -05:00
7297f76bcf
Fix initialization bug. No apparent change in external behavior.
Steve Raasch
2003-11-05 11:29:23 -05:00
f2b6ecdfeb
This is M5!
Nathan Binkert
2003-11-04 23:45:06 -05:00
f6b71f1e98
Properly serialize the clock event
Ron Dreslinski
2003-11-04 19:19:41 -05:00
d7b25c8022
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu
2003-11-04 18:19:40 -05:00
16d0b2f85a
Hack to enable perl totaling of standard deviation statistics.
Lisa Hsu
2003-11-04 18:19:03 -05:00
293ee75117
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-11-04 17:43:57 -05:00
247984bc22
A little bit of code here and there to get more access to what the console output is.
Nathan Binkert
2003-11-04 17:43:41 -05:00
ab799a6830
Added setup-spec and setup-specweb scripts to modify spec, specweb, and specwebssl run parameters
Andrew Schultz
2003-11-04 16:20:35 -05:00
94edf2de3f
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/realclean
Lisa Hsu
2003-11-04 15:21:04 -05:00
8834d91f21
statistics.cc: on Database::reset(), reset all stats in every bin, not just current one.
Lisa Hsu
2003-11-04 15:20:58 -05:00
553df008cf
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/clean
Lisa Hsu
2003-11-04 15:15:24 -05:00
921b1ee87b
Add the ability to track stats in user defined sets of function calls. code can be generated via the base/instrum_codegen.pl script to easily change the functions being tracked. the only thing the user needs to do is add code in tru64System to change how the callerMap is populated.
Lisa Hsu
2003-11-04 15:15:12 -05:00
e4b52476bc
Automerge
Steve Reinhardt
2003-11-03 20:35:05 -08:00
02795babaf
Fix bugs in and expand syscall emulation code.
Steve Reinhardt
2003-11-03 20:31:15 -08:00
40b9a3878a
Minor changes to instruction trace output.
Steve Reinhardt
2003-11-03 20:26:51 -08:00
29474bdf02
Fix unserialize issues with etherdev (used to leave junk as callbacks which would segfault)
Andrew Schultz
2003-11-03 18:40:09 -05:00
959f0b228b
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-11-03 16:47:53 -05:00
c55e6b495e
Make it so the quiesce instruction is conditionally enabled
Nathan Binkert
2003-11-03 16:47:08 -05:00
ea233ee2aa
Fix sampling cpu switchover of suspended contexts, and make some changes to sampling config files to allow for different periods of the server and client systems.
Ron Dreslinski
2003-11-03 16:43:59 -05:00
ad8c0da4a4
Fix etherdev so it serializes txPacket and rxPacket and fixes up the DmaRequest correctly and remove previous serialization of DmaPhys
Andrew Schultz
2003-11-03 16:29:32 -05:00
c23eb836d5
Added serialization for DmaPhys structs and serialize DmaRequest::phys
Andrew Schultz
2003-11-03 14:33:02 -05:00
2d265afed2
Fix unserialize so that it still gos through the entire tree, but warns if it doesn't find a section. Used to stop if a section didn't exist, but it's children might still exist.
Ron Dreslinski
2003-11-03 12:17:55 -05:00
7eb9683cc1
Fix segfault from unserialization, add system_sample as a configuration
Ron Dreslinski
2003-11-03 11:03:13 -05:00
2ac054386d
Print a warning rather than failing if we're unserializing and there's an object in the config that was not in the checkpointed config. This code compiles, but I haven't tested it... I'm committing it so Ron can have it. Should not effect anything that currently works.
Steve Reinhardt
2003-11-02 21:49:15 -08:00
34c8821970
Merge zizzer:/m5/Bitkeeper/m5 into zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/unclean
Ron Dreslinski
2003-11-02 23:20:50 -05:00
491fb95919
ok, let's get this right
Nathan Binkert
2003-11-02 22:12:20 -05:00
c307c22257
Fix a bug in the pseudo instruction context
Nathan Binkert
2003-11-02 21:58:23 -05:00
34c1ae0e5d
Merge zizzer:/m5/Bitkeeper/m5 into zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/unclean
Ron Dreslinski
2003-11-02 20:56:41 -05:00
136ee73a58
Add the option to ignore some of the pseudo instructions
Nathan Binkert
2003-11-02 20:52:40 -05:00
d76445f9f3
Move the m5 pseudo instructions into their own file
Nathan Binkert
2003-11-02 20:43:39 -05:00
d666d02b0b
Merge zizzer:/m5/Bitkeeper/m5 into zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/unclean
Ron Dreslinski
2003-11-02 19:38:51 -05:00
34620649de
General fixes for Sampling CPU in full system mode, and serialization of sampling CPU
Ron Dreslinski
2003-11-02 19:38:22 -05:00
f0e2c80829
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/y/sraasch/head
Steve Raasch
2003-11-02 19:29:28 -05:00
c6ffba9fa2
Add binning support
Steve Raasch
2003-11-02 19:29:14 -05:00
3e87070209
Prevent make from being smart about sccs
Nathan Binkert
2003-11-02 13:05:14 -05:00
780b3b4bcd
SimExit takes a time now
Nathan Binkert
2003-11-02 13:01:08 -05:00
03ef1a0c09
If a filter isn't specified, don't try to do any filtering If pcap_lookupnet fails, just assume the netmask is 0xffffff00 that's all we really wanted from it anyway.
Nathan Binkert
2003-11-02 02:13:04 -05:00
c7d6745b07
deprecate the m5exit instruction and rename it to m5exit_old Implement a new m5exit instruction with an optional delay
Nathan Binkert
2003-11-02 02:07:31 -05:00
7c6fa585ca
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-11-02 01:09:10 -05:00
1cd3757db9
add several new functions that can be called from the guest to tell the simulator to do something. exit -> exit_old (deprecated exit now takes an optional parameter that tells it to execute at a specified time in the future
Nathan Binkert
2003-11-02 01:08:59 -05:00
949a0634a4
iqueue.cc: don't clear stat fullCount in the constructor for iq. it comes cleared.
Lisa Hsu
2003-11-02 01:07:43 -05:00
a800d6abf7
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-11-02 00:35:40 -05:00
f74dac9d96
Add basic.ini which is a barebones system that has nothing disk1.ini provides #defines that can be set to configure a second disk
Nathan Binkert
2003-11-02 00:35:31 -05:00
394d34beb3
Merge zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/clean into zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/unclean
Ron Dreslinski
2003-11-01 23:03:17 -05:00
095962c914
Fix overwritting and ordering issues with serialization routines
Ron Dreslinski
2003-11-01 23:00:40 -05:00
249aaff329
statistics.hh: add enum to Bin::VectorBin
Lisa Hsu
2003-11-01 18:17:46 -05:00
a6a5df529e
Factor out the client/server network part into its own .ini file that we #include and add a DUMPFILE option for dumping a ethertrace
Nathan Binkert
2003-11-01 17:53:39 -05:00
2fd2ed16f7
gah! how did this ever work? time uses Tick, not unsigned!
Nathan Binkert
2003-11-01 16:26:19 -05:00
dc8370852f
Make error messages more informative on a non-full-system fault.
Steve Reinhardt
2003-11-01 10:59:06 -08:00
9ce1edeb0c
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-11-01 13:53:23 -05:00
6cc2783217
.cvsignore files don't really do anything for us anymore, so let's make bitkeeper ignore the stuff.
Nathan Binkert
2003-11-01 13:53:08 -05:00
64198ba6ff
Get rid of obsolete backtrace code.
Steve Reinhardt
2003-11-01 10:45:23 -08:00
15613161c2
Commit a command for use inside a simulated system for communicating with the simulator. This program is generally compiled as the name m5 and installed in /usr/local/bin
Nathan Binkert
2003-11-01 13:20:44 -05:00
59eeb1bb52
eventq.cc, eventq.hh: Cleaned up serialization
Andrew Schultz
2003-10-31 22:09:18 -05:00
518654dce4
Fix mistake, used readRequest.name twice
Andrew Schultz
2003-10-31 18:38:52 -05:00
166def1f56
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/.automount/zans/z/binkertn/research/m5/latest
Nathan Binkert
2003-10-31 18:28:05 -05:00
5341e1aa9e
Make the to_number function work better.
Nathan Binkert
2003-10-31 18:27:17 -05:00
60da271e1d
Merge zizzer:/bk/m5 into ascender.eecs.umich.edu:/.automount/zizzer/z/alschult/sandbox/m5-change
Andrew Schultz
2003-10-31 18:05:12 -05:00
e8b9537d11
Serialization support for serializing between DmaHolder simobjects and DmaEngine
Andrew Schultz
2003-10-31 18:05:00 -05:00
2ab51fbcdb
Changed the naming of Serializeable derived objects. Serializeable no longer has objName as a member, instead it has the pure virtual function name(). SimObject now has a objName member, and all classes derived directly from Serializeable have to implement a name() function (which now makes them unique by pointer value)
Andrew Schultz
2003-10-31 17:32:04 -05:00
57f607534c
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-31 10:10:45 -08:00
5906bd701a
New 'greprevs' script to grep through old revs of a file.
Steve Reinhardt
2003-10-31 10:10:34 -08:00
b5fc3af142
I forgot - also to typedef the default type of bin choice given to every visible stat type (NoBin or BinType). this way a little #define does it all for you.
Lisa Hsu
2003-10-31 00:23:53 -05:00
a5356bd75f
statistics.hh: oops - remove a debug printf
Lisa Hsu
2003-10-30 19:20:18 -05:00
2c451a0ad4
Make some general changes to stats package where things either could have been better or were just plain wrong.
Lisa Hsu
2003-10-30 19:18:53 -05:00
16e0a941c5
Fix initial state of dmaDoneCB and bufferCB for serialization
Ron Dreslinski
2003-10-30 17:45:23 -05:00
1044b29a1d
Serialization support for cow images
Ron Dreslinski
2003-10-30 16:48:23 -05:00
fd232ecb6a
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/y/sraasch/serialize
Steve Raasch
2003-10-30 15:16:05 -05:00
48ce8b70e6
Add serialization (which Nate now says we probably don't need)
Steve Raasch
2003-10-30 15:16:00 -05:00
9dac0d3c56
Add support for serialization
Steve Raasch
2003-10-30 15:15:27 -05:00
2e2d209968
Finish serializing ScsiDisk and DmaRequest
Erik Hallnor
2003-10-30 15:09:29 -05:00
b0516075fb
runAddrLast and runDataLast shouldn't be stats
Erik Hallnor
2003-10-30 15:08:45 -05:00
101aa8090a
Add support for serialization
Steve Raasch
2003-10-30 11:47:21 -05:00
8c03573e8f
Fix doxygen warnings from the change to Checkpoint.
Erik Hallnor
2003-10-30 11:38:08 -05:00
5590c7bfa5
Merge previous changes with format change
Steve Raasch
2003-10-30 10:44:55 -05:00
045eac3bdf
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-30 07:19:47 -08:00
735648fe3b
Fix/finish serialization
Steve Raasch
2003-10-30 10:13:10 -05:00
ec9d41c46a
Add some comments explaining ExecContext::Status enum.
Steve Reinhardt
2003-10-30 07:08:35 -08:00
f60a75f708
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk2/m5
Steve Reinhardt
2003-10-30 07:02:37 -08:00