mem-ruby: update RubyRequest print to include GPU fields

The print function used for RubyRequests did not include the GPU
specific fields (for the GLC and SLC bits, which are cache modifiers
that specify what level of the memory hierarchy a request should be
performed at).  This causes confusion when the GPU Ruby SLICC code
prints out RubyRequest messages, since important fields are missing.

Thus this commit adds that support.  Since these fields are already
part of the RubyRequest class, and are always 0 for non-GPU requests,
it should not affect other components beyond slightly longer prints.

Change-Id: I31c9122b82dfa2c6415ce25d225ea82cb35c7333
This commit is contained in:
Matt Sinclair
2023-11-05 02:21:47 -06:00
parent 71973b386e
commit 76279fef59

View File

@@ -61,7 +61,9 @@ RubyRequest::print(std::ostream& out) const
out << " " << "AccessMode = " << m_AccessMode << " ";
out << "Size = " << m_Size << " ";
out << "Prefetch = " << m_Prefetch << " ";
// out << "Time = " << getTime() << " ";
out << "isGLCSet = " << m_isGLCSet << "";
out << "isSLCSet = " << m_isSLCSet << "";
// out << "Time = " << getTime() << " ";
out << "]";
}