Profiler.hh (9465:4ae4f3f4b870) | Profiler.hh (9496:28d88a0fda74) |
---|---|
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; --- 157 unchanged lines hidden (view full) --- 166 return m_ruby_start; 167 } 168 169 // added by SS 170 bool getHotLines() { return m_hot_lines; } 171 bool getAllInstructions() { return m_all_instructions; } 172 173 private: | 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; --- 157 unchanged lines hidden (view full) --- 166 return m_ruby_start; 167 } 168 169 // added by SS 170 bool getHotLines() { return m_hot_lines; } 171 bool getAllInstructions() { return m_all_instructions; } 172 173 private: |
174 void printRequestProfile(std::ostream &out); 175 176 private: |
|
174 // Private copy constructor and assignment operator 175 Profiler(const Profiler& obj); 176 Profiler& operator=(const Profiler& obj); 177 178 AddressProfiler* m_address_profiler_ptr; 179 AddressProfiler* m_inst_profiler_ptr; 180 181 std::vector<int64> m_instructions_executed_at_start; 182 std::vector<int64> m_cycles_executed_at_start; 183 184 std::ostream* m_periodic_output_file_ptr; 185 int64_t m_stats_period; 186 187 Time m_ruby_start; 188 time_t m_real_time_start_time; 189 | 177 // Private copy constructor and assignment operator 178 Profiler(const Profiler& obj); 179 Profiler& operator=(const Profiler& obj); 180 181 AddressProfiler* m_address_profiler_ptr; 182 AddressProfiler* m_inst_profiler_ptr; 183 184 std::vector<int64> m_instructions_executed_at_start; 185 std::vector<int64> m_cycles_executed_at_start; 186 187 std::ostream* m_periodic_output_file_ptr; 188 int64_t m_stats_period; 189 190 Time m_ruby_start; 191 time_t m_real_time_start_time; 192 |
190 std::vector<std::vector<int64_t> > m_busyControllerCount; | |
191 int64_t m_busyBankCount; 192 Histogram m_multicast_retry_histogram; 193 194 Histogram m_filter_action_histogram; 195 Histogram m_tbeProfile; 196 197 Histogram m_sequencer_requests; 198 Histogram m_read_sharing_histogram; --- 30 unchanged lines hidden (view full) --- 229 std::vector<Histogram> m_delayedCyclesVCHistograms; 230 231 Histogram m_outstanding_requests; 232 Histogram m_outstanding_persistent_requests; 233 234 Histogram m_average_latency_estimate; 235 236 m5::hash_set<Address> m_watch_address_set; | 193 int64_t m_busyBankCount; 194 Histogram m_multicast_retry_histogram; 195 196 Histogram m_filter_action_histogram; 197 Histogram m_tbeProfile; 198 199 Histogram m_sequencer_requests; 200 Histogram m_read_sharing_histogram; --- 30 unchanged lines hidden (view full) --- 231 std::vector<Histogram> m_delayedCyclesVCHistograms; 232 233 Histogram m_outstanding_requests; 234 Histogram m_outstanding_persistent_requests; 235 236 Histogram m_average_latency_estimate; 237 238 m5::hash_set<Address> m_watch_address_set; |
237 // counts all initiated cache request including PUTs 238 int m_requests; 239 std::map<std::string, int> m_requestProfileMap; | |
240 241 //added by SS 242 bool m_hot_lines; 243 bool m_all_instructions; 244 245 int m_num_of_sequencers; 246 247 protected: --- 23 unchanged lines hidden --- | 239 240 //added by SS 241 bool m_hot_lines; 242 bool m_all_instructions; 243 244 int m_num_of_sequencers; 245 246 protected: --- 23 unchanged lines hidden --- |