summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-11Update random come to always have explict min/maxAli Saidi
--HG-- extra : convert_revision : a2d1f6f8aa1df24ea524792f687f4d3ee31101f0
2005-11-10Actually free Process fd_map entries when a file is closed...Steve Reinhardt
amazingly we never did that before. Caused us to run out of file descriptors in twolf. sim/process.cc: Add free_fd() method to free closed target fd in simulator fd map. Rename open_fd() to alloc_fd() for symmetry with free_fd(). sim/process.hh: Add free_fd() method to free closed target fd in simulator fd map. Rename open_fd() to alloc_fd() for symmetry with free_fd(). Crank up MAX_FD while we're at it. sim/syscall_emul.cc: Call free_fd() on process when target closes a file. sim/syscall_emul.hh: Process open_fd() renamed to alloc_fd(). --HG-- extra : convert_revision : d780f4ccfd5a0989230b0afbdbd276212b87550c
2005-11-10Syscall DPRINTF and warning cleanup.Steve Reinhardt
base/trace.hh: Need std:: on DPRINTFR reference to string class. base/traceflags.py: Remove SyscallWarnings trace flag... we should always print warnings so nothing undesirable goes unnoticed. Replaced with (currently unused) Syscall flag. sim/syscall_emul.cc: Change SyscallWarning DPRINTFs into warn() calls. Uncomment SyscallVerbose DPRINTFs. sim/syscall_emul.hh: Change SyscallWarning DPRINTFs into warn() calls. Call fatal() instead of ad-hoc termination. --HG-- extra : convert_revision : dc6c2ce3691a129f697b6a6ae5d889e2dbaab228
2005-11-10Fix Lisa's CPU trace system check for syscall emulation.Steve Reinhardt
cpu/exetrace.cc: CPU system name check doesn't work under syscall emulation, so don't compile it in. --HG-- extra : convert_revision : 2c128bf759877222107652fd86323be6dc71a34c
2005-11-09just commit what i need for dumping traces compatible with intel's casperLisa Hsu
--HG-- extra : convert_revision : a0c4a68a576fa771fd553eaedd6a07255a04dca2
2005-11-09Merge zizzer:/bk/m5Lisa Hsu
into zed.eecs.umich.edu:/z/hsul/work/m5/intel --HG-- extra : convert_revision : 729be2b6686f46f70440d258383180078c6b046c
2005-11-09new rcS file for open-iscsi rather than the old linux-iscsiLisa Hsu
--HG-- extra : convert_revision : 0c12033b38e32f8b2ea69b52813dfed294ec5de4
2005-11-09A couple of FP-related fixes (prompted by Adam having troubleSteve Reinhardt
running SPEC FP codes). arch/alpha/isa_desc: Don't warn about non-standard trapping modes more than once per static instruction. (Had the flag to suppress these but forgot to check it!) build/SConstruct: Add USE_SSE2 option to enable compiling w/SSE2 (important for getting IEEE-compliant FP on x86). --HG-- extra : convert_revision : eac69efb28cce7b48035480d8b7cb004782969f4
2005-11-03Qdo should kill its subordinate qsub more aggressivelySteve Reinhardt
on a timeout. util/qdo: Qsub needs a kill -9 to die; kill -15 doesn't cut it. --HG-- extra : convert_revision : 7696b3ecf1a084b68dd909b138ab6aa1b380b5a7
2005-11-03Check for MySQL 4.1 or newer onlySteve Reinhardt
(3.23 does not work as we supposed it did). --HG-- extra : convert_revision : d87dbebe0b2387fde1f8aba52625d115d31baf1a
2005-11-02allow conversion floats -> long so that 100e9 and such work as TicksAli Saidi
--HG-- extra : convert_revision : 23511baca6153bb3aa9c57be8818ad1b65f02a71
2005-11-02Don't call Random.uniform() unnecessarilyAli Saidi
--HG-- extra : convert_revision : 82b092391f7c866f33ddb028070181038bdce0f8
2005-11-02I left a printf in on accident.Ali Saidi
--HG-- extra : convert_revision : 5a5c0a8c28153f4cf4c3dbebd8f75096e4c4ea94
2005-11-02Changes to integer types broke this... Oops.Ali Saidi
--HG-- extra : convert_revision : e0ed251f4d75b5bf313a72772afed668fb7e38d2
2005-11-02Merge zizzer:/bk/m5Ali Saidi
into zeep.eecs.umich.edu:/z/saidi/work/m5 --HG-- extra : convert_revision : 3cc23080d19cc464a8ba7c1c93b6e5d45af7d463
2005-11-02Change the output of stability info a little bitAli Saidi
--HG-- extra : convert_revision : bc467a40593234a1e3b694a741b4a7c2154a95ea
2005-11-02add a few more options to the help menuAli Saidi
--HG-- extra : convert_revision : b2481bedac786e4a6bb0d577954242d7f4c144a0
2005-11-02Don't bother putting distributions in the DB, they aren't reallyAli Saidi
supported. --HG-- extra : convert_revision : a732fa169962632937ace368430cb3733c0e3cc6
2005-11-02Add ability to slightly perturb latency of ethernet/memoryAli Saidi
base/random.cc: Change normal random function to Xrand48 so we have one source of randomness for everything. base/random.hh: Add uniform distribution ability to random functions dev/etherlink.cc: dev/etherlink.hh: Add ability to slightly perturb latency of ethernet --HG-- extra : convert_revision : f7f856761fd525c233ae2a6d993b1fd702b488f7
2005-11-02Fix bug where simulation terminates same cycle as last stat dump causing a ↵Ali Saidi
duplicate row in db --HG-- extra : convert_revision : 45877c6feeaddf921eb0f4764246bf66e1705a1d
2005-11-02Add Mem/Ethernet latency variability parameterAli Saidi
python/m5/objects/Ethernet.py: Add Latency Variability Parameter --HG-- extra : convert_revision : db5431cccffea8c7247d0f72e4770d4d58bd25aa
2005-11-02Update monet configuration filesAli Saidi
--HG-- extra : convert_revision : 0cdfa6c5d57b7607c97b2ed08dff88e1b961718c
2005-11-02Simple updates to pbs and send.pyNathan Binkert
util/pbs/pbs.py: Change the default so that we do not get mail under any circumstances from pbs. util/pbs/send.py: Add a -n flag to send.py that causes the Base directory to *not* sync with the Link directory --HG-- extra : convert_revision : 6e872153b6b2c34b61ec2ddbf3e5536876f4b43b
2005-11-02silence g++ warningNathan Binkert
--HG-- extra : convert_revision : 27226b774e0f0273e238d062241f4581c9bb1639
2005-11-02__init__ should not return anythingNathan Binkert
--HG-- extra : convert_revision : fb46eee741f4899d76bcf927523fa151d002decf
2005-11-02Make vector params interact with proxies properly.Steve Reinhardt
--HG-- extra : convert_revision : a4067f07d71d2adc1ccbf4512a43ceee7b5cc3de
2005-11-01Allow math on CheckedInt-derived ParamValue classes w/oSteve Reinhardt
losing type information. python/m5/config.py: Allow math on CheckedInt-derived ParamValue classes w/o losing type information. - Make CheckedInt derive from NumericParamValue, and *not* multiply inherit from long - Move CheckedInt bounds check to _check() hook so we can call it when value is updated (not just in constructor) python/m5/convert.py: - make toInteger() return a long, making toLong() unnecessary - toMemorySize should return long rather than float --HG-- extra : convert_revision : c1cf5e15b9ff35d9b573dd545e076fe68afef989
2005-10-31Minor fix for test/genini.py.Steve Reinhardt
test/genini.py: Use m5execfile to execute .py files so that sys.path gets handled correctly. --HG-- extra : convert_revision : 8d8c90a7f40d51c95ba0f43bb9f6d7b2ee49f16e
2005-10-26Merge zizzer:/bk/m5Lisa Hsu
into zed.eecs.umich.edu:/z/hsul/work/m5/clean --HG-- extra : convert_revision : 8935c26cbf6cafd9c0f76783605c137f5a74e897
2005-10-26add in the files to the SConscript for split cachesLisa Hsu
--HG-- extra : convert_revision : aba28067abbb515eaa20a4d3303db19ac077777f
2005-10-23Fix qdo job name setting.Steve Reinhardt
util/qdo: Don't automatically set qsub job name, as this causes qsub to fail if the job name is too long or otherwise unsuitable. --HG-- extra : convert_revision : 5ba48767574efaaff2c328549adee295780f7f70
2005-10-21Major changes to sinic device model. Rearrage read/write, betterNathan Binkert
interrupts. dev/sinic.cc: - The prepareRead function sets all the variables in the register file that depend on various state bits that change on the fly. Includes RxDone, RxWait, TxDone, and TxWait - Use the new register information accessor functions to grab validity and size information for the read and write functions - read all registers directly from the register space by offset and size, not by actual name (less code) - The side effect of reading the interrupt status (clearing it) now happens outside the actual chunk of code where the value is loaded. - Add an iprRead function for when we may want speculative access to device registers through an ipr or special instruction. - When RxData or TxData are written, their busy flag is set to indicate that they have an outstanding transaction. - The RxHigh and TxLow interrupts are special, they only interrupt if the rxEmpty or txFull limits were hit - Move reset to the command register - Update more registers on reset, clear rxEmpty and txFull - Data dumps only happen if EthernetData trace flag set - When a DMA completes, kick the other engine if it was waiting - implement all of the new interrupts - serialize the new stuff dev/sinic.hh: - Put all registers with their proper size and alignment into the regs struct so that we can copy multiple at a time. - Provide accessor functions for accessing the registers with different sizes. - Flags to track when the rx fifo hit empty and the tx fifo became full. These flags are used to determine what to do when below the watermarks, and are reset when crossing the watermark. - the txDmaEvent should actually trigger the txDmaDone function - Add an iprRead function for when we may want speculative access to device registers through an ipr or special instruction. - The prepareRead function sets all the variables in the register file that depend on various state bits that change on the fly. - add rx_max_intr and dedicated (for dedicated thread) config params dev/sinicreg.hh: Add some new registers: Command, RxMaxIntr, RxFifoSize, TxFifoSize, rename XxThreshold to XxFifoMark Move Reset to the Command register Add Thread to the Config register New interrupts, better names More info in RxDone and TxDone Easier access to information on each register (size, read, write, name) python/m5/objects/Ethernet.py: Both sinic and nsgige have the dedicated thread Add a parameter to configure the maximum number for receive packets per interrupt --HG-- extra : convert_revision : 407c5a993b6fb17326b4c623ee5d4b25fd69ac80
2005-10-21missed another pio interface nameNathan Binkert
dev/sinic.cc: better name for both pio interfaces --HG-- extra : convert_revision : f7821c9c28b0095b366177b4c48a4ec14c3c89ee
2005-10-21better naming for pio interfacesNathan Binkert
dev/ns_gige.cc: why call it pio2 when there's only one? dev/sinic.cc: Give the interface a different name for stats/output purposes --HG-- extra : convert_revision : 895732f1a7e4c53e058a42b51320c2115dc05638
2005-10-21Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/head --HG-- extra : convert_revision : 35075f75f7e31e0500b964ec45db3019eea06c76
2005-10-21It's not necessary for a device to call recvDone, thatNathan Binkert
automatically happens in the interface after the packet is delivered to the device. --HG-- extra : convert_revision : 07890c4c5ce83fe709ce203f66c330d7cd631235
2005-10-21Fix a couple of bug in the values() vector accessorNathan Binkert
util/stats/db.py: need to import the values function util/stats/info.py: it's just run --HG-- extra : convert_revision : 3cb67d8112a1a5fdf761b73732859a71f585bd1f
2005-10-21Minor updates to the profile code.Nathan Binkert
util/stats/profile.py: Pass around the number of symbols limit deal with categorization a bit better. --HG-- extra : convert_revision : 908410e296efd4514f2dfc0eb9e6e42834585560
2005-10-21Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into zizzer.eecs.umich.edu:/.automount/ziff/z/binkertn/research/m5/work --HG-- extra : convert_revision : 8ef6ed2d770d45ac11d44a449e2c4f74ef656d87
2005-10-21Major cleanup of the statistics handling codeNathan Binkert
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 --HG-- extra : convert_revision : 8e5aa228e5d3ae8068ef9c40f65b3a2f9e7c0cff
2005-10-20Minor tweak to isa_parser.Steve Reinhardt
arch/isa_parser.py: Derive Stack class directly from list. --HG-- extra : convert_revision : 4f09db4baec0bb2144d71ffad5ce53651e8c3ac6
2005-10-20Add qdo options for setting the PBS job name and destination queue.Steve Reinhardt
util/qdo: Add options for setting the PBS job name and destination queue. --HG-- extra : convert_revision : dcb46a03b8fd7a93e2ba656a9e5c806e250f5ac9
2005-10-19fix pbs dependency stuffNathan Binkert
util/pbs/pbs.py: after -> afterok --HG-- extra : convert_revision : ee0af716bcc0f83c4103632bd277a5680b0d2c23
2005-10-19provide a default jobfilename if a jobname is givenNathan Binkert
--HG-- extra : convert_revision : c5659b9675ccd2ba71f5ffa38aff5d397d6ed1c3
2005-10-19Merge zizzer:/bk/m5Ali Saidi
into zeep.eecs.umich.edu:/z/saidi/work/m5 --HG-- extra : convert_revision : 2e093e94bee380dd6acc9c245b5bd46df579e010
2005-10-19Add multiplier for instruction window size to monet configurationAli Saidi
--HG-- extra : convert_revision : 848a5ac37eb5d10e115f5ec89d688d30f2f9bd30
2005-10-18make the sampling periods configurableNathan Binkert
--HG-- extra : convert_revision : 4276beb4f642ff5c3afcc9974f2c451bff100fb0
2005-10-18Shuffle around device names to make things easier to read.Nathan Binkert
Create EtherDevBase which both Sinic and NSGigE derive from bump fifos drop rx max copy size to 1514 bytes to be friendlier with linux default interrupt delay is 10us dev/ns_gige.cc: Shuffle around parameters to make it easier to find stuff dev/sinic.cc: Shuffle around parameters to make it easier to find stuff rename cycleTime -> clock dev/sinic.hh: rename cycleTime -> clock --HG-- extra : convert_revision : a673bee875e50d083098991aea20972fa8d5b5c7
2005-10-18more remnants of the profile stuffNathan Binkert
--HG-- extra : convert_revision : 435f24712f7bf7e8d844126e82e865ca309ebb67
2005-10-18Make ALPHA_SE compile commit.ccNathan Binkert
--HG-- extra : convert_revision : 16dc115014c16d4d400e69490cfff03e7229f8e0