summaryrefslogtreecommitdiff
path: root/src/dev/storage/simple_disk.cc
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-12-04 15:52:17 +0000
committerNikos Nikoleris <nikos.nikoleris@arm.com>2019-01-17 11:09:41 +0000
commitfa0c2bd148419c5e6f17d5fd28aeae90fedad3da (patch)
tree3aa5389ad04a7956b96de9f6f2e08d36bfdf3e6a /src/dev/storage/simple_disk.cc
parentccc50b7355fa9964c6da3ca1de2b3c48b7728bae (diff)
downloadgem5-fa0c2bd148419c5e6f17d5fd28aeae90fedad3da.tar.xz
mem: Allow inserts in the begining of a packet queue
A packet queue keeps track of packets that are scheduled to be sent at a specified time. Packets are sorted such that the packet with the earliest scheduled time is at the front of the list (unless there are other ordering requirements). Previouly, the implemented algorithm didn't allow packets to be placed at the front of the queue resulting in uneccessary delays. This change fixes the implementation of schedSendTiming. Change-Id: Ic74abec7c3f4c12dbf67b5ab26a8d4232e18e19e Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/15556 Reviewed-by: Bradley Wang <radwang@ucdavis.edu> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/dev/storage/simple_disk.cc')
0 files changed, 0 insertions, 0 deletions