Profiler.hh (11046:0cd13910b063) Profiler.hh (11049:dfb0aa3f0649)
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;

--- 66 unchanged lines hidden (view full) ---

75 void collateStats();
76
77 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; }
78 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; }
79
80 void addAddressTraceSample(const RubyRequest& msg, NodeID id);
81
82 // 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;

--- 66 unchanged lines hidden (view full) ---

75 void collateStats();
76
77 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; }
78 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; }
79
80 void addAddressTraceSample(const RubyRequest& msg, NodeID id);
81
82 // added by SS
83 bool getHotLines() const { return m_hot_lines; }
84 bool getAllInstructions() const { return m_all_instructions; }
83 bool getHotLines() { return m_hot_lines; }
84 bool getAllInstructions() { return m_all_instructions; }
85
86 private:
87 // Private copy constructor and assignment operator
88 Profiler(const Profiler& obj);
89 Profiler& operator=(const Profiler& obj);
90
91 AddressProfiler* m_address_profiler_ptr;
92 AddressProfiler* m_inst_profiler_ptr;

--- 31 unchanged lines hidden (view full) ---

124 //! Histograms for recording the breakdown of miss latency
125 std::vector<Stats::Histogram *> m_IssueToInitialDelayHist;
126 std::vector<Stats::Histogram *> m_InitialToForwardDelayHist;
127 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHist;
128 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHist;
129 Stats::Scalar m_IncompleteTimes[MachineType_NUM];
130
131 //added by SS
85
86 private:
87 // Private copy constructor and assignment operator
88 Profiler(const Profiler& obj);
89 Profiler& operator=(const Profiler& obj);
90
91 AddressProfiler* m_address_profiler_ptr;
92 AddressProfiler* m_inst_profiler_ptr;

--- 31 unchanged lines hidden (view full) ---

124 //! Histograms for recording the breakdown of miss latency
125 std::vector<Stats::Histogram *> m_IssueToInitialDelayHist;
126 std::vector<Stats::Histogram *> m_InitialToForwardDelayHist;
127 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHist;
128 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHist;
129 Stats::Scalar m_IncompleteTimes[MachineType_NUM];
130
131 //added by SS
132 const bool m_hot_lines;
133 const bool m_all_instructions;
134 const uint32_t m_num_vnets;
132 bool m_hot_lines;
133 bool m_all_instructions;
135};
136
137#endif // __MEM_RUBY_PROFILER_PROFILER_HH__
134};
135
136#endif // __MEM_RUBY_PROFILER_PROFILER_HH__