ruby: message buffer node: used Tick in place of Cycles
authorNilay Vaish <nilay@cs.wisc.edu>
Fri, 22 Mar 2013 20:53:26 +0000 (15:53 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Fri, 22 Mar 2013 20:53:26 +0000 (15:53 -0500)
commit6465cf58248e094fe960a905039d6eccb7cfcecf
tree3e9f729bfe92bc20fef79f6115a8cfca6b7afb7a
parent39e944546807d3fcde3d5eedc1b6a2a97458f4b1
ruby: message buffer node: used Tick in place of Cycles
The message buffer node used to keep time in terms of Cycles. Since the
sender and the receiver can have different clock periods, storing node
time in cycles requires some conversion. Instead store the time directly
in Ticks.
src/mem/ruby/buffers/MessageBuffer.cc
src/mem/ruby/buffers/MessageBufferNode.hh