projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d540dde
)
Minor error.
author
Vincentius Robby
<acolyte@umich.edu>
Wed, 20 Jun 2007 19:04:36 +0000
(15:04 -0400)
committer
Vincentius Robby
<acolyte@umich.edu>
Wed, 20 Jun 2007 19:04:36 +0000
(15:04 -0400)
--HG--
extra : convert_revision :
514032e21c8861f20fcbcae7204e132088cc7dbc
src/mem/bus.cc
patch
|
blob
|
history
diff --git
a/src/mem/bus.cc
b/src/mem/bus.cc
index 806c7ed85c32ae3331bc1a7823fb0670b9e5a793..d818a25ea4561ec3ed1ba311d49cb255770f888f 100644
(file)
--- a/
src/mem/bus.cc
+++ b/
src/mem/bus.cc
@@
-121,7
+121,7
@@
void Bus::occupyBus(PacketPtr pkt)
if (tickNextIdle < curTick) {
tickNextIdle = curTick;
if (tickNextIdle % clock != 0)
- tickNextIdle
-=
(curTick % clock) + clock;
+ tickNextIdle
= curTick -
(curTick % clock) + clock;
}
// The packet will be sent. Figure out how long it occupies the bus, and