AccessTraceForAddress.hh (11049:dfb0aa3f0649) | AccessTraceForAddress.hh (11061:25b53a7195f7) |
---|---|
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; --- 53 unchanged lines hidden (view full) --- 62 less_equal(const AccessTraceForAddress* n1, 63 const AccessTraceForAddress* n2) 64 { 65 return n1->getTotal() <= n2->getTotal(); 66 } 67 68 private: 69 Addr m_addr; | 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; --- 53 unchanged lines hidden (view full) --- 62 less_equal(const AccessTraceForAddress* n1, 63 const AccessTraceForAddress* n2) 64 { 65 return n1->getTotal() <= n2->getTotal(); 66 } 67 68 private: 69 Addr m_addr; |
70 uint64 m_loads; 71 uint64 m_stores; 72 uint64 m_atomics; 73 uint64 m_total; 74 uint64 m_user; 75 uint64 m_sharing; | 70 uint64_t m_loads; 71 uint64_t m_stores; 72 uint64_t m_atomics; 73 uint64_t m_total; 74 uint64_t m_user; 75 uint64_t m_sharing; |
76 Set m_touched_by; 77 Histogram* m_histogram_ptr; 78}; 79 80inline std::ostream& 81operator<<(std::ostream& out, const AccessTraceForAddress& obj) 82{ 83 obj.print(out); 84 out << std::flush; 85 return out; 86} 87 88#endif // __MEM_RUBY_PROFILER_ACCESSTRACEFORADDRESS_HH__ | 76 Set m_touched_by; 77 Histogram* m_histogram_ptr; 78}; 79 80inline std::ostream& 81operator<<(std::ostream& out, const AccessTraceForAddress& obj) 82{ 83 obj.print(out); 84 out << std::flush; 85 return out; 86} 87 88#endif // __MEM_RUBY_PROFILER_ACCESSTRACEFORADDRESS_HH__ |