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"
47 typedef std::unordered_map<Addr, AccessTraceForAddress>
AddressMap;
57 RubyRequestType
type, RubyAccessMode access_mode,
58 NodeID id,
bool sharing_miss);
65 void print(std::ostream& out)
const;
103 void printSorted(std::ostream& out,
int num_of_sequencers,
105 std::string description,
Profiler *profiler);
115 #endif // __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__
AddressProfiler & operator=(const AddressProfiler &obj)
void setHotLines(bool hot_lines)
void profileGetS(Addr datablock, Addr PC, const Set &owner, const Set &sharers, NodeID requestor)
void addTraceSample(Addr data_addr, Addr pc_addr, RubyRequestType type, RubyAccessMode access_mode, NodeID id, bool sharing_miss)
AddressProfiler(int num_of_sequencers, Profiler *profiler)
AddressMap m_retryProfileMap
void printSorted(std::ostream &out, int num_of_sequencers, const AddressProfiler::AddressMap &record_map, std::string description, Profiler *profiler)
Histogram m_retryProfileHistoWrite
void printStats(std::ostream &out) const
void profileRetry(Addr data_addr, AccessType type, int count)
void setAllInstructions(bool all_instructions)
void profileGetX(Addr datablock, Addr PC, const Set &owner, const Set &sharers, NodeID requestor)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
AddressMap m_programCounterAccessTrace
const std::string & name()
std::unordered_map< Addr, AccessTraceForAddress > AddressMap
AddressMap m_dataAccessTrace
AddressMap m_macroBlockAccessTrace
Histogram m_getx_sharing_histogram
Histogram m_retryProfileHisto
void regStats(const std::string &name)
std::ostream & operator<<(std::ostream &out, const AddressProfiler &obj)
int64_t m_sharing_miss_counter
void print(std::ostream &out) const
Histogram m_gets_sharing_histogram
AccessTraceForAddress & lookupTraceForAddress(Addr addr, AddressProfiler::AddressMap &record_map)
Histogram m_retryProfileHistoRead
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17