Commit Graph

401 Commits

Author SHA1 Message Date
31aa3aa925 bugfixes in overall coroutine handling to allow the overwriting of onTrigger.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1721 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-05 11:48:39 +00:00
32de9e174e Flag initialization is now based on actual simulator-selection.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1720 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-05 11:44:40 +00:00
4ba6dfa5de Typo fix.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1719 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-05 11:39:15 +00:00
42a75fa128 Documentation / corrected Bochs timer
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1718 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-05 09:41:41 +00:00
0c3d365368 bugfix: Add BochsListener to CMakeLists, workaround for onTimerTrigger
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1717 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 15:38:56 +00:00
hsc
d1c6ad3469 missing perf/BreakpointBuffer for Gem5
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1716 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 15:30:03 +00:00
5b0d53a1ab do's and don't when overwriting onTrigger + typo-fix.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1715 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 14:47:34 +00:00
2a35266ba7 Bugfix WallclockTimer
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1714 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 13:26:48 +00:00
28599c99d0 Listener handler revisited (onTrigger toggles the current flow), typo.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1713 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 11:28:11 +00:00
2b79e83d72 Make it comile again with CONFIG_FAST_BREAKPOINTS enabled (avoid include cycle, see r1706), set timer id correctly (setId), coding-style + comment fix.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1712 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-04 11:20:31 +00:00
8a902d2b50 Some Bugfixes
ALUInstr should work now


git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1710 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-03 15:02:22 +00:00
4b8a417eda Added missing include of Listener.hpp in Gem5Controller.cc
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1709 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-02 12:58:45 +00:00
02279833aa WallclockTimer updated
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1708 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-02 12:53:33 +00:00
7d49b6f063 Simulator specific listener are now implemented using aspects instead of an additional inheritance level
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1706 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-02 11:42:18 +00:00
4d5bab72b6 Added flags necessary for the debug versions of gem5 and fail.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1705 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-02 11:42:14 +00:00
fd102c01ea Important bugfix: passing the instruction cache entry pointer
does not account for arrays of instructions provided
by one virtual instruction trace cache entry ->
passing the current instruction directly.
ALUInstr not yet completely tested.


git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1704 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-01 17:51:34 +00:00
1a9a72eaf4 Fixed incomplete target name
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1703 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-10-01 07:56:16 +00:00
be9d2912f7 Correction - this _is_ necessary for instruction modification
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1702 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 19:50:31 +00:00
b07fa4dcb7 Listener objects will now be removed when their scope ends.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1700 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 09:59:20 +00:00
2c1c3e8f02 TroubleListener::getWatchNumbers() returns a const ref (instead of a copy), now.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1699 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 09:40:34 +00:00
ec7d0a78de regression-test: updated info text in (preprocessor) dependency check.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1698 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 09:37:15 +00:00
00b16ae5d0 (Fail)Bochs bug documented in more detail: TimerListener cannot be added at boot time.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1697 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 09:32:32 +00:00
01207617ba Removed residual m_tStamp member in BaseListener class (see r1637).
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1696 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-27 09:25:59 +00:00
38c39c902b WallclockTimer cleaned
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1695 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 17:20:32 +00:00
aa6ac5d119 WallclockTimer updated
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1694 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 17:16:22 +00:00
hsc
5aac012ea4 reverting r1671, it completely breaks linking everywhere
FIXME: We really need to make linking less fragile.  The campaign server
should not (at the moment: cannot, and does not) link against the
simulator backend, but the SAL instance refers to backend symbols.  This
just seems to work currently due to lucky translation unit arrangement and
a lot of karma accumulated over the last few years.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1693 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 16:14:25 +00:00
hsc
d45965753d bugfix: handle old clients properly
Fix 1: A result message with a nonexistent or invalid run ID must be
ignored in any case.  0 is only OK for NEED_WORK messages, clients
communicating a result must know the ID.

Fix 2: Tell the client the run ID in the first place ...

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1692 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 16:14:22 +00:00
hsc
65eb44a746 workaround for experiment.hpp including generated header
If an experiment's class definition (experiment.hpp) contains a member of
a generated type (which is the common case for protobuf messages), it needs
to include a generated header.  In order to instantiate the experiment in
a SimulatorController::initExperiments() hook aspect, the aspect needs to
include the experiment's class definition -- and indirectly the generated
protobuf header.  As the build system does not know about this dependency,
building SimulatorController.cc fails regularly, because the header is not
generated timely.

This commit works around this (currently only for the RAMpage experiment)
by delegating experiment instantiation to a separate compilation unit,
removing the need to include any headers in the instantiation aspect.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1691 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 15:52:45 +00:00
9dd050b9f5 SUCCESS --> SUCCESSFUL
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1690 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 13:24:13 +00:00
e55997e614 Removed remove(iterator) (no longer needed), m_remove() simplified.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1688 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 12:39:06 +00:00
hsc
fb7a7ed849 bugfix: qemu compiles again
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1687 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 12:36:42 +00:00
057c216dc0 Removed BufferCache stuff (fast breakpoints will do the job, see r1685).
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1686 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 11:36:19 +00:00
0cb6b39490 Aspect-based implementation of fast breakpoints added (optional).
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1685 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-25 10:10:02 +00:00
hsc
0783931bf6 RAMpage campaign: update for 2G experiments
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1679 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:28:13 +00:00
hsc
7ffd6611d3 RAMpage experiment: allow more than one empty test cycle
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1678 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:28:10 +00:00
hsc
7513dacad1 properly deal with clients that talked to another campaign server before
A campaign server now tells all clients a unique run ID (the UNIX timestamp
when it was started).  This allows us to ignore results from "old" clients
that talked to another server before, and to tell them to die.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1677 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:28:07 +00:00
hsc
8c7f8f62d0 correctly handle zero clients
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1676 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:28:04 +00:00
hsc
281efaa94a script for starting clients on all available hosts
In contrast to runcampaign.sh this does not start a campaign server.
TODO: use this from runcampaign.sh

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1675 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:28:01 +00:00
hsc
3192ddbe48 distribute to lidong2, too
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1674 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-23 17:27:58 +00:00
63264b8075 WallclockTimer added
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1673 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-21 14:08:10 +00:00
hsc
d983aecf73 added missing dependencies on protobuf library
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1672 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:22:05 +00:00
hsc
7d26f2f3d6 bugfix: linker problems on Ubuntu 12.04
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1671 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:22:02 +00:00
hsc
ab7b2bb160 kill them all and use ssh's ConnectionAttempts option
... instead of implementing this in bash.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1669 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:19:49 +00:00
hsc
e4dcb0db81 distribute to ls12sp, too
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1668 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:19:46 +00:00
hsc
6785b3199a RAMpage campaign: bugfix: detail description buffer too small
... for one single experiment with weird output.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1667 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:19:43 +00:00
hsc
74e75da8d6 RAMpage campaign: run one experiment for every 4k page
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1666 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:19:41 +00:00
hsc
d313ba85a2 runcampaign: utilize ssh's ConnectionAttempts
... instead of implementing it yourself.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1665 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-20 17:16:33 +00:00
hsc
52850dcb8d use rsync --delete-before instead of --delete
Otherwise rsync may fail if the client machine's
/tmp directory is almost full.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1656 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-15 18:03:12 +00:00
hsc
f1bb6d9853 RAMpage experiment: result type IDs fixed
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1655 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-14 20:39:53 +00:00
hsc
d263b33019 RAMpage experiment: parameter messages use unsigned integers
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1654 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-09-14 16:03:22 +00:00