sim: typecast Tick to UTick for eventQ assert
Review Request #603 - Created March 20, 2011 and submitted
| Information | |
|---|---|
| Korey Sewell | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
sim: typecast Tick to UTick for eventQ assert
This passed the simple-atomic, simple-timing, and o3 regressions tests for ARM_FS.
Posted (March 20, 2011, 5:59 p.m.)
-
src/sim/pseudo_inst.cc (Diff revision 1) -
should this really be: cpu->nextCycle(curTick() + ticks(1))??? I'm thinking that the original code didn't schedule on the Tick boundary but still had the effect of executing after all CPU events would be finished (e.g. CPU tick on 500 and then quiesce event on tick 501 instead of say 1000).
Review request changed
Updated (March 26, 2011, 3:38 a.m.)
Summary: |
|
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||
Diff: |
Revision 2 (+1 -1) |
-
src/sim/eventq.hh (Diff revision 2) -
Can you add a comment here explaining why you you're casting to UTick?
