StoreTrace.cc (10302:0e9e99e6369a) | StoreTrace.cc (11025:4872dbdea907) |
---|---|
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; --- 26 unchanged lines hidden (view full) --- 35 // all lines 36int64 StoreTrace::s_total_samples = 0; // Total number of store 37 // lifetimes of all lines 38Histogram* StoreTrace::s_store_count_ptr = NULL; 39Histogram* StoreTrace::s_store_first_to_stolen_ptr = NULL; 40Histogram* StoreTrace::s_store_last_to_stolen_ptr = NULL; 41Histogram* StoreTrace::s_store_first_to_last_ptr = NULL; 42 | 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; --- 26 unchanged lines hidden (view full) --- 35 // all lines 36int64 StoreTrace::s_total_samples = 0; // Total number of store 37 // lifetimes of all lines 38Histogram* StoreTrace::s_store_count_ptr = NULL; 39Histogram* StoreTrace::s_store_first_to_stolen_ptr = NULL; 40Histogram* StoreTrace::s_store_last_to_stolen_ptr = NULL; 41Histogram* StoreTrace::s_store_first_to_last_ptr = NULL; 42 |
43StoreTrace::StoreTrace(const Address& addr) | 43StoreTrace::StoreTrace(Addr addr) |
44 : m_store_count(-1), m_store_first_to_stolen(-1), 45 m_store_last_to_stolen(-1), m_store_first_to_last(-1) 46{ 47 StoreTrace::initSummary(); 48 m_addr = addr; 49 m_total_samples = 0; 50 51 // Really -1 isn't valid, so this will trigger the initilization code --- 106 unchanged lines hidden --- | 44 : m_store_count(-1), m_store_first_to_stolen(-1), 45 m_store_last_to_stolen(-1), m_store_first_to_last(-1) 46{ 47 StoreTrace::initSummary(); 48 m_addr = addr; 49 m_total_samples = 0; 50 51 // Really -1 isn't valid, so this will trigger the initilization code --- 106 unchanged lines hidden --- |