learning_gem5 icon indicating copy to clipboard operation
learning_gem5 copied to clipboard

Time in GoodbyeObject::fillBuffer() is calculated incorrectly

Open powerjg opened this issue 7 years ago • 0 comments

You mentioned " Since we used a MemoryBandwidth parameter in the SimObject declaration, the bandwidth variable is automatically converted into bytes per tick", so shouldn't the below part (and in some other parts of the code) in bold be bytes_copied / bandwidth to gives us the number of ticks?

schedule(event, curTick() + bandwidth * bytes_copied)

Submitted by: Shilpika (https://piazza.com/class/j7z54vw7a5r2sl?cid=95)

powerjg avatar Oct 22 '17 16:10 powerjg