summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2005-10-18use the dedicated flag, no more exposing the m5reg directlyNathan Binkert
dev/ns_gige.cc: stop exposing the m5reg to the configuration stuff and build it based on exposed flags. Expose dedicated now. dev/ns_gige.hh: goodbye m5reg hello dedicated dev/ns_gige_reg.h: Flags for the M5REG --HG-- extra : convert_revision : 11134fe67cdf5291caacf9b3041739c437b983e3
2005-10-18define a couple more abi regiestersNathan Binkert
--HG-- extra : convert_revision : 2b909cc784d4fdd4833a70e86d13c207a7c1dd23
2005-10-18Add missing change from big function profile commitNathan Binkert
--HG-- extra : convert_revision : 46e031098a4291638ea231ba8d3ed0339cab6e29
2005-10-18fix nmtestNathan Binkert
test/Makefile: get nmtest to compile test/nmtest.cc: make nmtest actually do something --HG-- extra : convert_revision : 471c02c51355a5145f0d0ce965c2a341076120c0
2005-10-18Default jobfile for statsNathan Binkert
util/stats/stats.py: Make the default jobfile Test.py in the current directory add the -J flag to tell it not to use a jobfile --HG-- extra : convert_revision : 5cf5bb2f32ed9c9701a94eabc9b2a538581acf94
2005-10-18Add new function profiling stuff, wrap the pc_sample stuff into it.Nathan Binkert
SConscript: Get rid of the pc_sample stuff and move to the new profiling stuff base/traceflags.py: DPRINTF Stack stuff cpu/base.cc: cpu/base.hh: cpu/exec_context.cc: cpu/exec_context.hh: cpu/simple/cpu.cc: Add profiling stuff kern/kernel_stats.hh: Use a smart pointer sim/system.cc: sim/system.hh: Create a new symbol table that has all of the symbols for a particular system util/stats/categories.py: change around the categories, add categories for function profiling stuff util/stats/profile.py: No profile parsing and display code to deal with function profiling stuff, graph, dot, and text outputs. --HG-- extra : convert_revision : b3de0cdc8bd468e42647966e2640ae009bda9eb8
2005-10-18Better pool job handlingNathan Binkert
util/pbs/job.py: the default jobfile is now Test.py in the root of the jobs directory util/pbs/pbs.py: Clean up the qsub options handling and add job dependencies util/pbs/send.py: the default jobfile is now Test.py in the root of the jobs directory add a flag to depend on your checkpoint add a flag to specify your node type create the base directory if it doesn't exist --HG-- extra : convert_revision : dfffa4a5b0e68b2550a28fbb06b9d6a208ea1f2e
2005-10-18Improvements to the graphing outputNathan Binkert
util/stats/output.py: Create the graph directory if it doesn't exist Don't write out a graph if all of the jobs for that graph are missing --HG-- extra : convert_revision : 7993baf1a4be33a062f86a4f09791f01eaafa43c
2005-10-13Fix for g++ 4 warning... not sure why this is just popping up now.Steve Reinhardt
sim/system.hh: Fix for g++ 4. --HG-- extra : convert_revision : e169220ba9ca34ebd4ba2bbafadf8de42f005812
2005-10-12Clean up symbol table access functions and make itNathan Binkert
possible to inline them. The symbol table is heavily used in the stacktrace code and the faster access functions should help out. base/loader/symtab.cc: Put these in the header file since they are simple and can be inlined. base/loader/symtab.hh: Move the various findFoo functions to the header file so they can be inlined. Add findNearestAddr functions that don't return the symbol. This is so you can figure out what function you're in based on the symbol table, but not waste time copying out the symbol name if you don't need it. --HG-- extra : convert_revision : 00cac40a79b0641a70c5ec7d9838fa0ec505c6a1
2005-10-12better english in stat descriptions for NS GigENathan Binkert
dev/ns_gige.cc: better english in stat descriptions --HG-- extra : convert_revision : e75fc71e3285389cd38a9a00376a494778536b1d
2005-10-12Make it easier to attach the remote debugger.Nathan Binkert
base/remote_gdb.cc: Keep track of a vector of all of the usable debuggers and provide a current_debugger variable that can be set from gdb to specify which remote debugger is desired. If debugger() is called and the current_debugger is not attached, call accept on its listener so we can still attach a remote debugger from the gdb prompt if we had forgotten to before. Print out more information when the simulator starts so we can distinguish debuggers more easily. base/remote_gdb.hh: Have a remote debugger instance keep track of its listener. Number the remote debuggers so it's easier to figure out which is which. --HG-- extra : convert_revision : 97119597ac3772ea4df6da3b3a4827f50253a51f
2005-10-12Add support for 64-bit addresses to the NS GigE device model.Nathan Binkert
dev/ns_gige.cc: Add support for 64-bit addresses dev/ns_gige.hh: dev/ns_gige_reg.h: Need both cached 32-bit and 64-bit descriptors --HG-- extra : convert_revision : 514788d8d95554b3512f1b75db5314c823453a8c
2005-10-12don't write the pbs jobid here, do it in send.py so we knowNathan Binkert
what it is sooner Don't handle sigstop since you're not allowed to. util/pbs/send.py: write the pbs jobid here in send.py so we know what it is sooner --HG-- extra : convert_revision : 93292d046cb4b628031e0e57e39eb4470b598ed8
2005-10-09Merge zizzer:/bk/m5Lisa Hsu
into zed.eecs.umich.edu:/z/hsul/work/m5/clean --HG-- extra : convert_revision : 427e867b51ee3c9c2a1c70a16d36dfaf83284b2c
2005-10-09add a flag that supercedes all other InstExec flags to print a trace in the ↵Lisa Hsu
Intel sim compatible format. --HG-- extra : convert_revision : 19569e5645f2d68fb68a0352753c08c2a24bfdc4
2005-10-06Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : c725ff66b214027cdb72a2cf8ffd017e9b120700
2005-10-06More documentation for 1.1 release.Steve Reinhardt
README: More updates for 1.1 release. --HG-- extra : convert_revision : 3e39cf4d1cba49dfb254cd1047144ac2aa728221
2005-10-06Merge zizzer:/bk/m5Lisa Hsu
into zed.eecs.umich.edu:/z/hsul/work/m5/clean --HG-- extra : convert_revision : 42c38ea59c6787fdcf25bf8e1737f71ac253cf8a
2005-10-06Add execution trace object to Root.Steve Reinhardt
python/m5/objects/Root.py: Add execution trace object. --HG-- extra : convert_revision : 1d1ba18779fd4d0b5af921c5f34b7a2bfb4b75d9
2005-10-05Update README for IOSCA release.Steve Reinhardt
README: Update for IOSCA release. --HG-- extra : convert_revision : 6ed7c857cc71021f51abe8c462a9b8b58215dcfb
2005-10-05can't designate checkpoint from command line without this importLisa Hsu
--HG-- extra : convert_revision : c6428fc99edb1f621da77c97b44e8a71c5b3cb66
2005-10-03Minor cleanup of memtest.Steve Reinhardt
cpu/memtest/memtest.cc: Call random() consistently (not sometimes rand() and sometimes random()). Don't bother to call random() for copy-only parameters unless we're actually doing a copy. --HG-- extra : convert_revision : 50ef72594ad53ba531584b3c9dde61ac036a4e38
2005-10-01Add executable parameter to LiveProcess. This allows the argv[0] value toSteve Reinhardt
stay fixed even if the path to the binary changes, so the simulation results are independent of that path. --HG-- extra : convert_revision : d1109cd284466c14eddc97289908a51e771fc5db
2005-10-01Commit regression script. The cron job uses a copy in m5test'sSteve Reinhardt
home directory (/z/m5/regression), so for now any modifications should be manually copied there as well. Note that this script is designed to be useful for running full regressions outside of the cron job as well. --HG-- extra : convert_revision : 052ec5d58b5ff765d8f3a9b50849ef34d62c8d66
2005-10-01Add default= option to SConstruct.Steve Reinhardt
build/SConstruct: Add 'default=' argument to specify base config to use when setting up a new build dir with a different name, e.g.: scons default=ALPHA_SE USE_MYSQL=no ALPHA_SE_NOSQL/m5.opt --HG-- extra : convert_revision : 0f7ee1414b3e84b36114415182baf54a8adab9b7
2005-09-30Clean up some formattingNathan Binkert
kern/linux/linux_system.cc: remove random character kern/linux/linux_threadinfo.hh: Formatting fixes --HG-- extra : convert_revision : 2be4772d7455ea1f4eb22966e00831701b7cbc27
2005-09-29Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/.automount/poolfs/z/home/stever/bkr/m5 --HG-- extra : convert_revision : c00173bbf537efd352ab7ce824bd23dc0177bb60
2005-09-29Fixes for building ALPHA_FS_TL with g++ 4.0.Steve Reinhardt
--HG-- extra : convert_revision : 6f74cf888de8725696efdfb039f5621486ad4968
2005-09-29fix for delayed state machine changesAli Saidi
--HG-- extra : convert_revision : db19e3687f48799725a9062e014588d318988cee
2005-09-29Fix for qdo & new pool node build.Steve Reinhardt
util/qdo: unset PROMPT_COMMAND in shell in case system sets it for us. --HG-- extra : convert_revision : f9f20f7dc6b9585b60f3ce53aadd06e7d64f5179
2005-09-25Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/.automount/poolfs/z/home/stever/bk/m5 --HG-- extra : convert_revision : c777f18ba8462b7286ec8588b859de8f4091a772
2005-09-24Create build_options/current dir when necessary.Steve Reinhardt
build/SConstruct: Need to create build_options/current the first time through. --HG-- extra : convert_revision : 13bf8c69a4a30671283a8b789ed21875b2301f24
2005-09-24Split build options files into a static set of defaultsSteve Reinhardt
for committing to bk and a dynamically updated set which are not under revision control. build/SConstruct: Split build options into static defaults and dynamic "current" settings. --HG-- rename : build/build_options/ALPHA_FS => build/build_options/default/ALPHA_FS rename : build/build_options/ALPHA_FS_TL => build/build_options/default/ALPHA_FS_TL rename : build/build_options/ALPHA_SE => build/build_options/default/ALPHA_SE extra : convert_revision : 8219211a3f2ce955fd6e2c34c169cac3fc704854
2005-09-24Clean up indentation in isa_desc.Steve Reinhardt
arch/alpha/isa_desc: Little bit of re-ordering and indentation clean-up. --HG-- extra : convert_revision : e538ff89d8b507c3e1aa68a032578fcaa645d7ee
2005-09-24Fix IDE disk UDMA mode support mask to actually reflect support forSteve Reinhardt
modes 4 *and below*, not just mode 4. dev/ide_disk.cc: Fix UDMA mode support mask to actually reflect support for modes 4 *and below*, not just mode 4. --HG-- extra : convert_revision : 3506d503a5e8ce8a8686fb3a552383d365be0d41
2005-09-24Add functions to System object to set up function-based events,Steve Reinhardt
including automatically fixing up addresses to deal with optionally executed Alpha gp update prolog. SConscript: Remove freebsd_events.cc and linux_events.cc. base/remote_gdb.cc: cpu/pc_event.cc: kern/system_events.cc: kern/system_events.hh: PCEvents now schedule themselves in constructor. cpu/pc_event.hh: PCEvents now schedule themselves in the constructor. Get rid of constructor versions that don't take an address and all the schedule() methods that are now unnecessary. kern/freebsd/freebsd_system.cc: kern/freebsd/freebsd_system.hh: Use new System methods to schedule function-based events. Move FreeBSD-specific function event classes into FreebsdSystem. kern/linux/linux_system.cc: kern/linux/linux_system.hh: Use new System methods to schedule function-based events. Move Linux-specific function event classes into LinuxSystem. kern/tru64/tru64_events.hh: PCEvents now schedule themselves in constructor. Add DebugPrintfrEvent to encapsulate raw setting as new type (to work better with new System function-event method.) kern/tru64/tru64_system.cc: Use new System methods to schedule function-based events. kern/tru64/tru64_system.hh: Add DebugPrintfrEvent to encapsulate raw setting as new type (to work better with new System function-event method.) sim/system.cc: sim/system.hh: Add functions to set up function-based events, including automatically fixing up addresses to deal with optionally executed Alpha gp update prolog. --HG-- extra : convert_revision : c2cf09144297b6602afe755a34a0a2227023783f
2005-09-22Support for compiling and testing on pool via 'qdo' script.Steve Reinhardt
For this to work qdo must be on your path. I've copied it into /usr/local/bin on zizzer. build/SConstruct: Add BATCH and BATCH_CMD options to support compiling/testing on pool via qdo. --HG-- extra : convert_revision : b7fc46465e897f7f15ed4a67f6735886917a6c4b
2005-09-18Tweak the set of coalesced interruptsNathan Binkert
dev/ns_gige.cc: clean up usage of ISR_FOO macros dev/ns_gige_reg.h: Clean up #defines make ISR_RXIDLE and ISR_TXIDLE coalesced --HG-- extra : convert_revision : fd64fc6a441d096fc45737fdcb837de8868ca10a