changeset 0d1467be20eb in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0d1467be20eb
description:
cpu: remove faulty simpoint basic block inst count assertion
This patch removes an assertion in the simpoint profiling code that
asserts that a previously-seen basic block has the exact same number
of instructions executed as before. This can be false if the basic
block generates aborts or takes interrupts at different locations
within the basic block. The basic block profiling are not affected
significantly as these events are rare in general.
diffstat:
src/cpu/simple/atomic.cc | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r a362694dda2d -r 0d1467be20eb src/cpu/simple/atomic.cc
--- a/src/cpu/simple/atomic.cc Fri Jan 17 11:02:15 2014 -0600
+++ b/src/cpu/simple/atomic.cc Fri Jan 24 15:29:29 2014 -0600
@@ -618,7 +618,6 @@
// If basic block is seen before, just increment the count by the
// number of insts in basic block.
BBInfo& info = map_itr->second;
- assert(info.insts == currentBBVInstCount);
info.count += currentBBVInstCount;
}
currentBBVInstCount = 0;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev