StoreTrace.cc (11049:dfb0aa3f0649) StoreTrace.cc (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;

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

28
29#include "mem/ruby/profiler/StoreTrace.hh"
30#include "sim/core.hh"
31
32using namespace std;
33
34bool StoreTrace::s_init = false; // Total number of store lifetimes of
35 // all lines
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;

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

28
29#include "mem/ruby/profiler/StoreTrace.hh"
30#include "sim/core.hh"
31
32using namespace std;
33
34bool StoreTrace::s_init = false; // Total number of store lifetimes of
35 // all lines
36int64 StoreTrace::s_total_samples = 0; // Total number of store
36int64_t 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(Addr addr)
44 : m_store_count(-1), m_store_first_to_stolen(-1),

--- 113 unchanged lines hidden ---
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(Addr addr)
44 : m_store_count(-1), m_store_first_to_stolen(-1),

--- 113 unchanged lines hidden ---