Go to the documentation of this file.
29 #ifndef __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__
30 #define __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__
33 #include <unordered_map>
39 #include "mem/ruby/protocol/AccessType.hh"
40 #include "mem/ruby/protocol/RubyRequest.hh"
53 typedef std::unordered_map<Addr, AccessTraceForAddress>
AddressMap;
63 RubyRequestType
type, RubyAccessMode access_mode,
64 NodeID id,
bool sharing_miss);
71 void print(std::ostream& out)
const;
109 void printSorted(std::ostream& out,
int num_of_sequencers,
111 std::string description,
Profiler *profiler);
124 #endif // __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__
void setAllInstructions(bool all_instructions)
Histogram m_retryProfileHisto
Histogram m_retryProfileHistoRead
AddressMap m_retryProfileMap
void profileGetX(Addr datablock, Addr PC, const Set &owner, const Set &sharers, NodeID requestor)
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
void printStats(std::ostream &out) const
void addTraceSample(Addr data_addr, Addr pc_addr, RubyRequestType type, RubyAccessMode access_mode, NodeID id, bool sharing_miss)
void print(std::ostream &out) const
Histogram m_retryProfileHistoWrite
Histogram m_gets_sharing_histogram
AddressMap m_macroBlockAccessTrace
void regStats(const std::string &name)
void profileGetS(Addr datablock, Addr PC, const Set &owner, const Set &sharers, NodeID requestor)
AddressProfiler(int num_of_sequencers, Profiler *profiler)
void setHotLines(bool hot_lines)
AccessTraceForAddress & lookupTraceForAddress(Addr addr, AddressMap &record_map)
void printSorted(std::ostream &out, int num_of_sequencers, const AddressMap &record_map, std::string description, Profiler *profiler)
std::unordered_map< Addr, AccessTraceForAddress > AddressMap
Histogram m_getx_sharing_histogram
AddressProfiler & operator=(const AddressProfiler &obj)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const std::string & name()
void profileRetry(Addr data_addr, AccessType type, int count)
AddressMap m_dataAccessTrace
AddressMap m_programCounterAccessTrace
int64_t m_sharing_miss_counter
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:59 for gem5 by doxygen 1.8.17