sim: Add relative break scheduling
Review Request #3142 - Created Sept. 30, 2015 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Allow schedBreak() to set a breakpoint by relative rather than absolute tick.
Posted (Oct. 1, 2015, 3:11 p.m.)
Seems like a good idea, but I'm curious about the decision to use the extra defaulted parameter. From a usability issue, it might be better just to introduce a new schedRelBreak() function that just calls schedBreak(n + curTick()).
Review request changed
Updated (Oct. 5, 2015, 3:50 p.m.)
Diff: |
Revision 2 (+14) |
|---|
Posted (Oct. 9, 2015, 10:03 a.m.)
-
src/sim/debug.cc (Diff revision 2) -
hate to nitpick over such a small function, but why not just 'schedBread(curTick() + delta);'?
Review request changed
Updated (Oct. 9, 2015, 12:19 p.m.)
Diff: |
Revision 3 (+13) |
|---|
thanks!
