learning_gem5
learning_gem5 copied to clipboard
Time in GoodbyeObject::fillBuffer() is calculated incorrectly
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)