StoreTrace.cc (7048:2ab58c54de63) StoreTrace.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;

--- 15 unchanged lines hidden (view full) ---

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "mem/ruby/eventqueue/RubyEventQueue.hh"
30#include "mem/ruby/profiler/StoreTrace.hh"
31
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;

--- 15 unchanged lines hidden (view full) ---

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "mem/ruby/eventqueue/RubyEventQueue.hh"
30#include "mem/ruby/profiler/StoreTrace.hh"
31
32using namespace std;
33
32bool StoreTrace::s_init = false; // Total number of store lifetimes of
33 // all lines
34int64 StoreTrace::s_total_samples = 0; // Total number of store
35 // lifetimes of all lines
36Histogram* StoreTrace::s_store_count_ptr = NULL;
37Histogram* StoreTrace::s_store_first_to_stolen_ptr = NULL;
38Histogram* StoreTrace::s_store_last_to_stolen_ptr = NULL;
39Histogram* StoreTrace::s_store_first_to_last_ptr = NULL;

--- 116 unchanged lines hidden ---
34bool StoreTrace::s_init = false; // Total number of store lifetimes of
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;

--- 116 unchanged lines hidden ---