Commit graph

1968 commits

Author SHA1 Message Date
Kevin Lim
f58d85128d Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code,
which is evaluated slightly differently than in previous versions of gcc.

arch/alpha/alpha_linux_process.cc:
    Alphabetize includes.
arch/alpha/vptr.hh:
    Change the constants that are being used for alpha pagebytes to come from the ISA.
base/random.hh:
cpu/static_inst.cc:
sim/param.cc:
    Fix up template syntax.
base/range.hh:
    Include iostream for << operator.
base/res_list.hh:
base/statistics.hh:
cpu/simple_cpu/simple_cpu.hh:
cpu/static_inst.hh:
sim/eventq.hh:
sim/param.hh:
    Fixup for templated code to resolve different scope lookup in gcc 3.4.  This defers the lookup of the
    function/variable until actual instantiation time by making it dependent on the templated class/function.
base/trace.cc:
    Fix call to new.
base/trace.hh:
    Fix up #define to have full path.
cpu/base_cpu.cc:
    Fix up call to new.
dev/etherlink.hh:
dev/ns_gige.hh:
dev/sinic.hh:
    Fixup for friend class/function declaration.  g++ 3.4 no longer allows typedefs to be declared as
    a friend class.
dev/pcidev.hh:
    Fix up re-definition of access level to params.
kern/linux/linux_syscalls.hh:
kern/tru64/tru64_syscalls.hh:
    Fix up header.  Fix up template syntax.
sim/serialize.cc:
    Include errno.h.
sim/startup.cc:
    Change startupq.  queue was getting destructed before all things had called ~StartupCallback(), which lead
    to a segfault.  This puts startupq in global space, and we allocate it ourselves.  Other code may be similar
    to this and may need changing in the future.
sim/syscall_emul.hh:
    Include cpu/exec_context.hh and sim/process.hh, as forward declarations are no longer sufficient.
sim/universe.cc:
    Include errno.h

--HG--
extra : convert_revision : e49d08ee89eb06a28351f02bafc028ca6652d5af
2005-01-14 18:34:56 -05:00
Ali Saidi
dfecc89150 added stats code to check stability
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-14 17:50:36 -05:00
Ali Saidi
3e5a3df24f automerged had issues with the options.XXXXX in stats.py
--HG--
extra : convert_revision : 44db6642c1fb46eb515acd5a6d8465859a40891a
2005-01-14 00:05:49 -05:00
Ali Saidi
21c6dd80d7 fix a display bug
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-13 23:59:39 -05:00
Ron Dreslinski
3edc239c13 Merge from changes to Memtype and Bustype and Automerge
--HG--
extra : convert_revision : 143fdcc333084c7ba04291e0c299f99566b73cc3
2005-01-12 15:22:58 -05:00
Nathan Binkert
0f0c80ad8c More graph output junk
util/stats/stats.py:
    Add the graphing output for 6GHz and 8GHz runs

--HG--
extra : convert_revision : fae3763c213e4b839735761bf91fa37e1b4f343c
2005-01-12 13:44:47 -05:00
Nathan Binkert
ed7926664f Update for newer MySQLdb
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
2005-01-12 13:41:06 -05:00
Kevin Lim
42f3b4ffb3 Merge changes.
base/traceflags.py:
    Merge extra new CPU flags
cpu/static_inst.hh:
    Include all the execute functions in static_inst_impl.hh

--HG--
extra : convert_revision : 78eb753bf709d37400e7c2418bb35d842d7c3f63
2005-01-11 19:00:16 -05:00
Kevin Lim
90d4436351 Slight fixes, add in commit trace flag.
base/traceflags.py:
    Add new commit rate trace flag.
build/SConstruct:
    Add extra option for efence.
cpu/beta_cpu/alpha_full_cpu_impl.hh:
    Use function calls instead of direct indexing (avoids confusion).
cpu/beta_cpu/commit_impl.hh:
    Add commit rate trace output (might not be worthwhile in the future).
cpu/beta_cpu/decode_impl.hh:
    Remove some older hacks.  Fix it so that the isntruction properly sets its next
    PC to the one calculated by the branch.
cpu/beta_cpu/fetch_impl.hh:
    Remove old commented code.
cpu/beta_cpu/iew_impl.hh:
    Add extra check to ensure that the instruction is valid.
cpu/beta_cpu/regfile.hh:
    Include trace file.

--HG--
extra : convert_revision : 4ee1dc88f8a5ed9b65486c6c111a3718a8040e42
2005-01-11 18:52:29 -05:00
Steve Reinhardt
202758eea2 Added notes from 12/22/04 memory system meeting
(plus a formatting fix found while browsing code
during the meeting).

--HG--
extra : convert_revision : fb23edbe40a9dbf870ae49299e91e16906ea2c8a
2004-12-23 12:33:12 -05:00
Nathan Binkert
c0e098c03d Fix typo
--HG--
extra : convert_revision : 1716d3fb0b19406402989824f74e9c2bc2b5a9c0
2004-12-22 08:57:32 -05:00
Nathan Binkert
e2ea735c26 Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.int.chaotic.net:/z/binkertn/research/m5/latest

--HG--
extra : convert_revision : 7a3b0009499c0b9c4685efb598f7e2dd61a49ecc
2004-12-18 09:53:31 -05:00
Nathan Binkert
746dcdb9e1 a bit of remote debugging info.
--HG--
extra : convert_revision : ae44f49701839bb64950852a251440d86512a5b0
2004-12-18 09:53:18 -05:00
Ali Saidi
57eb1ff624 add colors to graph
--HG--
extra : convert_revision : 0f1749a364516460d77882ef9301c06d86a329b3
2004-12-15 15:39:21 -05:00
Ali Saidi
ccff53ff5f Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : 7746bf5a56475a821a05b29896ec95fc4e6f556c
2004-12-14 14:52:32 -05:00
Ali Saidi
850ff597e7 updated clustered bars graph to have a legend
--HG--
extra : convert_revision : 9a7e5f8a9693e24d2b3c8836d43803b42da6ca2c
2004-12-14 14:52:26 -05:00
Ron Dreslinski
d3d750151d Modified to work with do_events
No multiple requests to the same block outstanding from the same tester
Using false sharing, each tester only access a single byte within the block based on which tester it is
Allow more cycles before signalling deadlock, with do_events it may take some time with NACK/retry and many proccessors

--HG--
extra : convert_revision : 4c8eab99082c53840a5ad2a926457dfc27f23b77
2004-12-14 13:15:54 -05:00
Nathan Binkert
d0bff50bba Fix up the random number stuff.
SConscript:
    compile the random number generator stuff into m5
base/random.cc:
    we need to define our destructor
base/random.hh:
    Since there's no state, just makes all of these get functions static

--HG--
extra : convert_revision : 9d4b8abd57367391a8ecda3914b1d912d9c64185
2004-12-13 12:55:13 -05:00
Steve Reinhardt
f3e89d3991 Change Bus template parameter to BusType (to avoid confusion with Bus class).
Change Mem template parameter to MemType while we're at it.

dev/io_device.hh:
    Change Bus template parameter to BusType (to avoid confusion with Bus class).

--HG--
extra : convert_revision : dca8effb177535b3624ef08a3d3b8afab720390b
2004-12-09 01:07:08 -05:00
Ali Saidi
41b5edbe2e Change to not pound on the VM system quite so hard
--HG--
extra : convert_revision : bf035976a7be75bd56f2df49d5489525675d3d57
2004-12-08 19:54:10 -05:00
Ali Saidi
c67d967055 compress main memory in checkpoints
SConscript:
    Add zlib to the build always

--HG--
extra : convert_revision : fae49fbbba371660e171d7e8328894a74c846ec5
2004-12-08 18:30:06 -05:00
Ron Dreslinski
a435be1b00 Merge zizzer:/z/m5/Bitkeeper/m5
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/clean

--HG--
extra : convert_revision : 0a189db3ecd1424558c73620d81300344e68b86d
2004-12-07 14:12:08 -05:00
Ali Saidi
02a1222d9a Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : 02d8a72ee5c059543af790cca0712fd7dbf5f33c
2004-12-06 13:37:26 -05:00
Ali Saidi
34260bbf0d Add support for Tsunami with 64 processors
base/socket.cc:
    Make panic print a more worthwhile message
dev/tsunami.hh:
    Change max number of tsunami cpus to be 64
dev/tsunamireg.h:
    Add new registers and register blocks for 64 cpu tsunami

--HG--
extra : convert_revision : 3ceaaa998518ded8613bc64edc04cb9120fd3d15
2004-12-06 12:06:16 -05:00
Lisa Hsu
45eb722566 system.ini:
the SYSTEM_DETAIL configuration assumes that it's a TWO_SYSTEM.  make it not do that

--HG--
extra : convert_revision : 4f630a06b333acd727c57a82bc7a9595b231c037
2004-12-03 15:49:37 -05:00
Lisa Hsu
e6d7d9de05 boot_detail.ini:
now that we've changed the memory system defined names, fix this file

--HG--
extra : convert_revision : 1ce3881c9d21ba0b37f17f802641b5029a042d17
2004-12-03 15:42:26 -05:00
Lisa Hsu
0d31aacde0 system.ini:
Fix the Boot Detailed case so that IntrControl and AlphaConsole's cpu's are defined.

--HG--
extra : convert_revision : d6e5073af27d5554b2bea719a0790ef891bf57be
2004-12-03 15:29:33 -05:00
Ali Saidi
46b5f8dfc1 Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : 9be07505189d9dd54af423d28e7d48f1a4cd084b
2004-12-01 17:01:27 -05:00
Ali Saidi
41411ff8d9 updated colors, and font adjustments
--HG--
extra : convert_revision : a4ce055c73ec12a26c70d03bd833ee9d429adc23
2004-12-01 17:00:39 -05:00
Nathan Binkert
7017707a68 Add a #define option for setting the sampling periods
--HG--
extra : convert_revision : 29163dc72e7e677b4cfafa76cb33a755ee2c50b2
2004-11-24 13:34:48 -05:00
Ron Dreslinski
433d0a12de Fix duplicate statistic name and description
Uncacheables don't change the request cmd, so use req->cmd instead of mshr->originalCmd]

--HG--
extra : convert_revision : 2f31df4911e29cb941138ed493f01f11b1109722
2004-11-24 13:34:47 -05:00
Steve Reinhardt
d1d1cbdd0e Fix typo (from Nate's commit, I believe)
--HG--
extra : convert_revision : 87e1a3ac1b5fcd53a6ed7fa63d5323ae33423f56
2004-11-23 00:13:11 -05:00
Steve Reinhardt
a6696a4e7b Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 8c257ce0f25c1a9deab4cbad1c81ada006b10b8d
2004-11-23 00:00:59 -05:00
Ali Saidi
409f7812b2 Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : dac88be32ea326e8966d68925bc49c7bea90a01b
2004-11-22 22:32:50 -05:00
Ali Saidi
244ce7fb29 Print a warning if two devices are sharing the same interrupt
Update profile-top to print 2 or 4 graphs depending on a command line
option

dev/pciconfigall.cc:
dev/pciconfigall.hh:
dev/pcidev.hh:
    Print a warning if two devices are sharing the same interrupt

--HG--
extra : convert_revision : 0ef99cac92fbf2916ab8e5b1125d520eb4b5ac7d
2004-11-22 22:32:37 -05:00
Nathan Binkert
eefd60f175 Make it so we can easily disable compiling of some of the caches.
All that needs to be done is comment out the stuff you don't care
about in the header files in the mem/config.
For now, the default is to leave everything on.

--HG--
extra : convert_revision : a3638ab3927339d92803479bc0c30728f0b977ad
2004-11-22 19:10:36 -05:00
Ali Saidi
9590ca6844 move y axis label closer
--HG--
extra : convert_revision : 329c2f4553febf70f346debcd8f71f275576dc17
2004-11-18 19:57:24 -05:00
Ali Saidi
574caca058 small tweaks to label positions
--HG--
extra : convert_revision : 6bfbb6500fa3f2e46be06cfdb32bf7f7713d5999
2004-11-18 19:44:54 -05:00
Ali Saidi
09a4648914 Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : 5670f5958efda65295777c621a916568b61ecc3f
2004-11-18 18:35:48 -05:00
Ali Saidi
9291ec40ad graphing updates
--HG--
extra : convert_revision : 8264cdb40f3679189e9c343b3a376e5938c3e13c
2004-11-18 18:29:58 -05:00
Ron Dreslinski
c0a36c8152 Merge zizzer:/z/m5/Bitkeeper/m5
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/clean

--HG--
extra : convert_revision : 57dff76e998c495df30855158fa64d2cbb5783bf
2004-11-18 16:24:17 -05:00
Nathan Binkert
50490ee449 don't share the PCI Header data among all devices. Make them independent.
--HG--
extra : convert_revision : 2aeb7db098f4fcdaea2a37d0a55ee2dbc08c853c
2004-11-18 16:23:33 -05:00
Nathan Binkert
4ef2cd862d Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/.automount/ziff/z/binkertn/research/m5/latest

--HG--
extra : convert_revision : 3127ab9f076b5ecce897a1c7de2678b58b73f7fb
2004-11-18 16:23:32 -05:00
Nathan Binkert
86836124ed always initalize the size of a packet (forgotten on checkpoints
in some places).  use the constructor for setting the size.

--HG--
extra : convert_revision : fad322c1d45b1952804cf35942b5685d70128e59
2004-11-18 16:23:31 -05:00
Lisa Hsu
71a7c8b7d1 Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5
--HG--
extra : convert_revision : 2a0544b4cb75e768a54d10a49c752a3169f7ae5c
2004-11-18 16:23:31 -05:00
Nathan Binkert
e3c3e44ac1 fixup natbox configuration
--HG--
extra : convert_revision : 9744ff67691f6a8fd7c20f1b84d899acdfcd1cf8
2004-11-18 16:23:30 -05:00
Nathan Binkert
ab10712341 stats python fixes for dealing with vectors better. graph tweaking
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-18 16:23:29 -05:00
Nathan Binkert
ceec841980 add a no touch stream benchmark clean up a little
--HG--
extra : convert_revision : 41ff3dc85492e1d57fc30389f923d564156b4237
2004-11-18 16:23:28 -05:00
Ron Dreslinski
d087f361ed Change so second CPU on sampler is a simpleCPU
--HG--
extra : convert_revision : 530d463e5356cd67cec6b4529867909006336454
2004-11-18 16:23:27 -05:00
Ron Dreslinski
b9201536d5 Merge zizzer:/z/m5/Bitkeeper/m5
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/clean

--HG--
extra : convert_revision : 13f1741380309b5fbf6a2ebbd4b38b5c75fa8bfe
2004-11-18 16:02:11 -05:00