AddressProfiler.hh (8608:02d7ac5fb855) | AddressProfiler.hh (9554:406fbcf60223) |
---|---|
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; --- 78 unchanged lines hidden (view full) --- 87 88 //added by SS 89 bool m_hot_lines; 90 bool m_all_instructions; 91 92 int m_num_of_sequencers; 93}; 94 | 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; --- 78 unchanged lines hidden (view full) --- 87 88 //added by SS 89 bool m_hot_lines; 90 bool m_all_instructions; 91 92 int m_num_of_sequencers; 93}; 94 |
95AccessTraceForAddress& lookupTraceForAddress(const Address& addr, 96 AddressProfiler::AddressMap& 97 record_map); 98 99void printSorted(std::ostream& out, int num_of_sequencers, 100 const AddressProfiler::AddressMap &record_map, 101 std::string description); 102 |
|
95inline std::ostream& 96operator<<(std::ostream& out, const AddressProfiler& obj) 97{ 98 obj.print(out); 99 out << std::flush; 100 return out; 101} 102 103#endif // __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__ | 103inline std::ostream& 104operator<<(std::ostream& out, const AddressProfiler& obj) 105{ 106 obj.print(out); 107 out << std::flush; 108 return out; 109} 110 111#endif // __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__ |