AccessTraceForAddress.cc (7048:2ab58c54de63) | AccessTraceForAddress.cc (7055:4e24742201d7) |
---|---|
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; --- 41 unchanged lines hidden (view full) --- 50{ 51 if (m_histogram_ptr != NULL) { 52 delete m_histogram_ptr; 53 m_histogram_ptr = NULL; 54 } 55} 56 57void | 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; --- 41 unchanged lines hidden (view full) --- 50{ 51 if (m_histogram_ptr != NULL) { 52 delete m_histogram_ptr; 53 m_histogram_ptr = NULL; 54 } 55} 56 57void |
58AccessTraceForAddress::print(ostream& out) const | 58AccessTraceForAddress::print(std::ostream& out) const |
59{ 60 out << m_addr; 61 62 if (m_histogram_ptr == NULL) { 63 out << " " << m_total; 64 out << " | " << m_loads; 65 out << " " << m_stores; 66 out << " " << m_atomics; --- 55 unchanged lines hidden --- | 59{ 60 out << m_addr; 61 62 if (m_histogram_ptr == NULL) { 63 out << " " << m_total; 64 out << " | " << m_loads; 65 out << " " << m_stores; 66 out << " " << m_atomics; --- 55 unchanged lines hidden --- |