summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)Author
2005-04-06full_system isn't a useful parameter anymore, get rid of it.Nathan Binkert
python/m5/objects/Root.mpy: sim/universe.cc: util/stats/stats.py: full_system isn't a useful parameter --HG-- extra : convert_revision : 557091be1faa3cf121c55102aba4e6f4c1bd45ef
2005-03-24Update so that statistics can be plotted correctlyRon Dreslinski
util/stats/stats.py: Changed some stuff for graphing purposes: full_cpu is now full0 frequencies are now s,m,f,q not s,6,8,q L2 is now l2 etherdev is now etherdev0 May want to consider fact that NAT box should be the sum of etherdev0 and etherdev1 (not in script yet) --HG-- extra : convert_revision : 39a7d0bcf1b9354a77c12de5981e8277408ba791
2005-03-24Improvements to send.py to allow the user to specify the jobfileNathan Binkert
util/pbs/send.py: Allow the user to specify the jobfile --HG-- extra : convert_revision : 0e21d2b03355bb7e8938c828bbaa441dc51afd1a
2005-03-23update profile code to use shared categories fileAli Saidi
util/stats/stats.py: add database command to help --HG-- extra : convert_revision : 5d77e9d3e142f884d08d34b730c385c41c6bcafb
2005-03-15get rid of issequence and just use the isinstance builtinNathan Binkert
--HG-- extra : convert_revision : eca99aa35ad5c5c1c86325f55cf693ff585c9826
2005-03-09Fix tracediff to work with new parameter and output directory structure.Steve Reinhardt
util/tracediff: Fix to work with new parameter and output directory structure. --HG-- extra : convert_revision : 421ed14fa02df7c9e95eb93f4d36b9ff046f1e39
2005-03-07Make it easier to find a jobfile.Nathan Binkert
util/pbs/jobfile.py: Search for the jobfile in sys.path --HG-- extra : convert_revision : 50d2c2c13b6b9de4f6bc4e833961e309a98b0d2b
2005-02-14Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5Ali Saidi
--HG-- extra : convert_revision : c807a78d9c3f3be51763dab9685aa4b7361c585c
2005-02-14undoing change per nates requestAli Saidi
--HG-- extra : convert_revision : c5c2fd88dfd8d893da51c2b80907260ec14a7593
2005-02-14Make it so we append jobs to the joblist in the for loop notNathan Binkert
outside of the loop so we get all of the jobs, not just the last one. util/pbs/send.py: fix indent --HG-- extra : convert_revision : eee9546b4945ff949fdfdf339fc95a23603b47d3
2005-02-14output dir changes to python filesAli Saidi
util/pbs/job.py: pass output dir to m5 directly --HG-- extra : convert_revision : 00d1568bb2da3b3e646fc75b4884314bf4cb2d71
2005-02-10Some cosmetic changes to MyPOpenNathan Binkert
util/pbs/pbs.py: More tweaks that I forgot --HG-- extra : convert_revision : 7298f91b80bc7d8d946be93fc622e5f9f6e155f9
2005-02-09More fixes to the pbs stuff to make it more robust.Nathan Binkert
sim/pyconfig/SConscript: Embed the jobfile.py script into the binary so that we don't need to copy it into the Base directory every time. test/genini.py: Add the util/pbs directory to the path so we can get to jobfile.py Add a -I argument to set to add to the path. util/pbs/pbs.py: Create a MyPOpen class. This is a lot like the popen2.Popen3 class in the python library except that my version allows redirection of standard in and standard out to a file instead of a pipe. Use this popen class to execute qsub or ssh qsub. This was important for the ssh version of qsub because we need to pipe the script into standard in of ssh so that the script can get to the qsub command. (Otherwise we have a problem discovering the path.) util/pbs/send.py: Tweak the script so it figures out paths in NFS correctly. Use the new system for running qsub. --HG-- extra : convert_revision : 1289915ba99cec6fd464b71215c32d2197ff2824
2005-02-09More fixes for running from anywhere.Nathan Binkert
util/pbs/send.py: always access the job directory via full path --HG-- extra : convert_revision : 1792aadb39428e7c91953ac58f6da212b7f92835
2005-02-09Fixes to thes pbs send scriptNathan Binkert
util/pbs/send.py: - add a -d to set the job root directory allowing one to run send.py from anywhere. - specify full paths to files instead of relative paths to make -d work and to allow ssh qsub to work again. - make the Link directory only copy links that point to regular files. --HG-- extra : convert_revision : dd330cee08b97c5d72c3d58ef123f83ac7ccede7
2005-02-05Make pbs submission scripts available to all.Nathan Binkert
Fix up configuration scrupts to have better support for running on the simulation pool. --HG-- extra : convert_revision : 0178c8600b193d6c0ca69163fb735a7fa0e70782
2005-02-03Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : aea0708fa6684e3203c03f17e8ae6ae87e893f04
2005-02-03Minor bug fix/update to tracediff util.Steve Reinhardt
util/tracediff: Fix bug (used += instead of .= for string concatenation in Perl... wrong language!). Also updated for new config (s/Universe/root/). --HG-- extra : convert_revision : 0db3f22794037dc51cc29f78a75bd22012a8ecd9
2005-02-03get rid of defined and just access the env dict directlyNathan Binkert
get rid of the alias for true to True and false to False to keep consistent python syntax. util/stats/info.py: Fix typo --HG-- extra : convert_revision : e69588a8de52424e043315e70008ca3a3ede7d5b
2005-01-19added total bytes/bandwidth/packets formulas to nicsAli Saidi
cleaned up stability code and wrote some better help for stats.py fixed sample bug in info.py dev/ns_gige.cc: dev/ns_gige.hh: dev/sinic.cc: dev/sinic.hh: add total bandwidth/packets/bytes stats util/stats/info.py: fixed samples bug util/stats/stats.py: cleaned up stability code and wrote a bit better help --HG-- extra : convert_revision : cae06f4fac744d7a51ee0909f21f03509151ea8f
2005-01-18Ability to check formulasAli Saidi
--HG-- extra : convert_revision : 68a2a19cceb4a8cf8a2798ee5c019d25c0fca3cc
2005-01-18now really done with stability stats stuffAli Saidi
--HG-- extra : convert_revision : 9bdbcec972f5d06e3ecd99c418fcccfaef7f6f3a
2005-01-18finished stability stats optionAli Saidi
--HG-- extra : convert_revision : 3ad0a143f79b116c5b18321846653d627429882a
2005-01-14added stats code to check stabilityAli Saidi
util/stats/db.py: added working listticks (for printing) and retticks(for using in python) code util/stats/stats.py: added stability function that checks if all samples are within 10% of mean. --HG-- extra : convert_revision : 7eb1714db75e456f248fe7cae73db1c57642947d
2005-01-14automerged had issues with the options.XXXXX in stats.pyAli Saidi
--HG-- extra : convert_revision : 44db6642c1fb46eb515acd5a6d8465859a40891a
2005-01-13fix a display bugAli Saidi
add option to limit results to a set of ticks fix ticks code to work util/stats/info.py: change samples -> ticks and pass all parameters util/stats/stats.py: add option to select a set of ticks and fix display bug --HG-- extra : convert_revision : eca80a8c6bb75cf82bf1624f3d0170690b2928af
2005-01-12More graph output junkNathan Binkert
util/stats/stats.py: Add the graphing output for 6GHz and 8GHz runs --HG-- extra : convert_revision : fae3763c213e4b839735761bf91fa37e1b4f343c
2005-01-12Update for newer MySQLdbNathan Binkert
util/stats/db.py: Update for newer MySQLdb, the result of a blob in a query is an array.array now, so we need to convert that to a string --HG-- extra : convert_revision : 32732983d3d7141755085ec4913fdae057edc67f
2004-11-18stats python fixes for dealing with vectors better. graph tweakingNathan Binkert
ipkb stat and formulas from the command line. util/stats/info.py: no need to raise an attribute error if two values aren't found in the exact same set of runs. Would be good to check that each run is the same though. util/stats/stats.py: more graph tweaking command to execute a formula from the command line. add interrupts per kilobyte of data --HG-- extra : convert_revision : 78d6b14d340d08edcbc69e4c1c5a4c1dd9bb10dd
2004-11-17Fix some commands.Nathan Binkert
util/stats/stats.py: we only need the system if we're issuing one of the commands that uses a stored formula. --HG-- extra : convert_revision : d129a00eeba46a03f7d600922d679aa0f43636be
2004-11-15Fix more of the stats python stuffNathan Binkert
util/stats/info.py: Make the binnings stuff work again. util/stats/stats.py: small patch for graphing make it so we can print out bins for the stat command --HG-- extra : convert_revision : c0279ac7030fd5146dd00801baa41e7baf97d1f4
2004-11-14update graph generating codeNathan Binkert
util/stats/stats.py: tweak the graphing stuff for the new configurations we have. add more graph types. nsgige -> etherdev deal with memory hierarchy change by using L2 instead of L3 --HG-- extra : convert_revision : 55362e79d9f8d0d68aa08129f5af944b378a9f4c
2004-10-27Major documentation update for 570 F04.Steve Reinhardt
sim/main.cc: Get rid of default.ini processing... it's kind of a pain and nobody uses it. util/tracediff: Add comments on usage. --HG-- extra : convert_revision : b811288b2945585d60685684ea88c99d1913fbf3
2004-09-10fix the options stuffNathan Binkert
util/stats/stats.py: get the options from the options struct now gratuitously change the output directory for graphs. --HG-- extra : convert_revision : 468f34bdc2c8b5fc3a393eaa4da4ec288e35c8c7
2004-08-18added nate's memtest code to devtimeAli Saidi
util/ccdrv/devtime.c: incorperated nate's changes for memory testing. --HG-- extra : convert_revision : 6c479dd6b9a79659bb4cfd3e03b794909b14db3b
2004-08-09Totally re-do/reorganize the python part of the statistics codeNathan Binkert
Make the database creation/removal/cleanup code use python Make formulas work with the database Add support to do some graphing, but needs more work Still need to work on vectors, 2d vectors, dists and vectordists --HG-- extra : convert_revision : 1a88320dcc036a3751e8a036770766dce76a568c
2004-08-05Integrate Python configuration script parsing into m5 itself.Steve Reinhardt
SConscript: Add pyconfig/{pyconfig,code}.cc Add list of object description (.od) files. Include pyconfig/SConscript. base/inifile.cc: Get rid of CPP_PIPE... it never really worked anyway. base/inifile.hh: Make load(ifstream&) method public so pyconfig code can call it. sim/main.cc: Handle Python config scripts (end in '.py' instead of '.ini'). sim/pyconfig/m5configbase.py: Add license. Fix minor __setattr__ problem (2.3 related?) --HG-- rename : util/config/m5configbase.py => sim/pyconfig/m5configbase.py extra : convert_revision : 5e004922f950bfdefced333285584b80ad7ffb83
2004-07-12put the formatting fixes back into devtimeNathan Binkert
util/ccdrv/devtime.c: put the formatting fixes back. no tabs. --HG-- extra : convert_revision : 541e91294ee5383f3b321dd084876ae7c353cce9
2004-07-12modified devtime to print out raw dataAli Saidi
--HG-- extra : convert_revision : 5ad673d6f684acaffeb61db794f7e2ac099ba99d
2004-07-12formattingNathan Binkert
--HG-- extra : convert_revision : cbd0c148a50643191372fdba2f771d7e145f1bff
2004-07-05updated to work on all platforms (actually map sure that the physicalAli Saidi
address we are trying to access is mapped before accessing it.) --HG-- extra : convert_revision : 104341334a3d2bb812a6b0b6277ab353f8f9b39e
2004-07-05Added code to read any location in memory a repetative number of andAli Saidi
average the results. It works on alpha but I haven't got it working on x86 I think for lack of knowing a good address to read. --HG-- extra : convert_revision : e2442de641741674d692245712aa92e258cf6d48
2004-06-09Minor restructuring of Python config code, mostly to avoid walkingSteve Reinhardt
the source tree for *.odesc files every time we run the script. This is now factored out into load_odesc.py, which should be used to generate m5odescs.py, which is then used as the source of object & parameter definitions. util/config/m5configbase.py: - Move odesc loading code to separate load_odescs.py, so maybe someday that can be done once at build time. - Print out children of a node in the order they are added. - Automatically assign a parent-less node to the first node for which it is used as the value of a parameter. (Easier demonstrated than explained.) - Calculate object paths dynamically when requested rather than trying to keep them up to date as objects get assigned to parents. --HG-- rename : util/config/m5config.py => util/config/m5configbase.py extra : convert_revision : 2183a09d32f3862ab377e0a929715f30505a03cb
2004-05-08Very minor fixes.Steve Reinhardt
util/tracediff: stats:file option is now stats:text_file --HG-- extra : convert_revision : 74b6294da0003345e84bc1533d536dab271b6033
2004-04-28Minor enhancements to Python config stuff:Steve Reinhardt
- Add support for assigning NULL to SimObject pointers. In Python, this is a special value, distinct from None. - Initial, incomplete pass at regenerating C++ parameter code (declarations and INIT_PARAM macros) from .odesc files. util/config/m5config.py: - Add support for assigning NULL to SimObject pointers. In Python, this is a special value, distinct from None. - Initial, incomplete pass at regenerating C++ parameter code (declarations and INIT_PARAM macros) from .odesc files. --HG-- extra : convert_revision : d7ae8f32e30b3c0829fd1a60589dd998e2e0d0d7
2004-04-06Beta version of Python configuration tool. Generates .ini files fromSteve Reinhardt
Python script description. arch/alpha/alpha_memory.cc: dev/io_device.cc: Add DEFINE_SIM_OBJECT_CLASS_NAME for intermediate SimObjects. test/paramtest.cc: Fix stupid spelling. --HG-- extra : convert_revision : dc020208cb6507c1afb1ed771a7218daba678e09
2004-03-24Don't indent namespaces because it just wastes spaceNathan Binkert
--HG-- extra : convert_revision : 2236838a40bf77689a3d75df718c0da410c3fbb6
2004-02-23Quote args properly in tracediff.Steve Reinhardt
util/tracediff: Quote simulator args so args with spaces get handled correctly. --HG-- extra : convert_revision : b48677bc712be17e6e50ca35680e757ba9364692
2003-12-17Miscellaneous minor fixes/improvements.Steve Reinhardt
Most notable is that the rundiff trace-output lossage is fixed! base/pollevent.cc: Use SA_RESTART to keep blocked write() calls from failing with EINTR when signals happen. base/trace.hh: Make TRACING_ON depend on NDEBUG not being set (instead of DEBUG being set) so m5.opt/m5.fast do what we want. util/rundiff: Print header lines showing file/cmd names. --HG-- extra : convert_revision : 4966814ad65aedb6d62a5a62a6ad3e3f326d61b8
2003-12-15Minor enhancements to rundiff.Steve Reinhardt
util/rundiff: Dump buffered lines on loss of sync so we see where things went wrong. Also return proper exit code from checkmatch() function. --HG-- extra : convert_revision : cd88064ee784a50b675bf3fededbb3901c3c266c