Profiler.hh (11168:f98eb2da15a4) | Profiler.hh (11172:9261e98e4501) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 65 unchanged lines hidden (view full) --- 74 void collateStats(); 75 76 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; } 77 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; } 78 79 void addAddressTraceSample(const RubyRequest& msg, NodeID id); 80 81 // added by SS | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 65 unchanged lines hidden (view full) --- 74 void collateStats(); 75 76 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; } 77 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; } 78 79 void addAddressTraceSample(const RubyRequest& msg, NodeID id); 80 81 // added by SS |
82 bool getHotLines() { return m_hot_lines; } 83 bool getAllInstructions() { return m_all_instructions; } | 82 bool getHotLines() const { return m_hot_lines; } 83 bool getAllInstructions() const { return m_all_instructions; } |
84 85 private: 86 // Private copy constructor and assignment operator 87 Profiler(const Profiler& obj); 88 Profiler& operator=(const Profiler& obj); 89 90 AddressProfiler* m_address_profiler_ptr; 91 AddressProfiler* m_inst_profiler_ptr; --- 31 unchanged lines hidden (view full) --- 123 //! Histograms for recording the breakdown of miss latency 124 std::vector<Stats::Histogram *> m_IssueToInitialDelayHist; 125 std::vector<Stats::Histogram *> m_InitialToForwardDelayHist; 126 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHist; 127 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHist; 128 Stats::Scalar m_IncompleteTimes[MachineType_NUM]; 129 130 //added by SS | 84 85 private: 86 // Private copy constructor and assignment operator 87 Profiler(const Profiler& obj); 88 Profiler& operator=(const Profiler& obj); 89 90 AddressProfiler* m_address_profiler_ptr; 91 AddressProfiler* m_inst_profiler_ptr; --- 31 unchanged lines hidden (view full) --- 123 //! Histograms for recording the breakdown of miss latency 124 std::vector<Stats::Histogram *> m_IssueToInitialDelayHist; 125 std::vector<Stats::Histogram *> m_InitialToForwardDelayHist; 126 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHist; 127 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHist; 128 Stats::Scalar m_IncompleteTimes[MachineType_NUM]; 129 130 //added by SS |
131 bool m_hot_lines; 132 bool m_all_instructions; | 131 const bool m_hot_lines; 132 const bool m_all_instructions; 133 const uint32_t m_num_vnets; |
133}; 134 135#endif // __MEM_RUBY_PROFILER_PROFILER_HH__ | 134}; 135 136#endif // __MEM_RUBY_PROFILER_PROFILER_HH__ |