mem-ruby: update RubyRequest print to include GPU fields (#537)
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:
@@ -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 << "]";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user