StoreTrace.hh (11031:3815437cb231) | StoreTrace.hh (11049:dfb0aa3f0649) |
---|---|
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; --- 39 unchanged lines hidden (view full) --- 48 static void initSummary(); 49 static void printSummary(std::ostream& out); 50 static void clearSummary(); 51 52 void print(std::ostream& out) const; 53 54 private: 55 static bool s_init; | 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; --- 39 unchanged lines hidden (view full) --- 48 static void initSummary(); 49 static void printSummary(std::ostream& out); 50 static void clearSummary(); 51 52 void print(std::ostream& out) const; 53 54 private: 55 static bool s_init; |
56 static int64_t s_total_samples; // Total number of store lifetimes | 56 static int64 s_total_samples; // Total number of store lifetimes |
57 // of all lines 58 static Histogram* s_store_count_ptr; 59 static Histogram* s_store_first_to_stolen_ptr; 60 static Histogram* s_store_last_to_stolen_ptr; 61 static Histogram* s_store_first_to_last_ptr; 62 63 Addr m_addr; 64 NodeID m_last_writer; 65 Tick m_first_store; 66 Tick m_last_store; 67 int m_stores_this_interval; 68 | 57 // of all lines 58 static Histogram* s_store_count_ptr; 59 static Histogram* s_store_first_to_stolen_ptr; 60 static Histogram* s_store_last_to_stolen_ptr; 61 static Histogram* s_store_first_to_last_ptr; 62 63 Addr m_addr; 64 NodeID m_last_writer; 65 Tick m_first_store; 66 Tick m_last_store; 67 int m_stores_this_interval; 68 |
69 int64_t m_total_samples; // Total number of store lifetimes of this line | 69 int64 m_total_samples; // Total number of store lifetimes of this line |
70 Histogram m_store_count; 71 Histogram m_store_first_to_stolen; 72 Histogram m_store_last_to_stolen; 73 Histogram m_store_first_to_last; 74}; 75 76inline bool 77node_less_then_eq(const StoreTrace* n1, const StoreTrace* n2) --- 13 unchanged lines hidden --- | 70 Histogram m_store_count; 71 Histogram m_store_first_to_stolen; 72 Histogram m_store_last_to_stolen; 73 Histogram m_store_first_to_last; 74}; 75 76inline bool 77node_less_then_eq(const StoreTrace* n1, const StoreTrace* n2) --- 13 unchanged lines hidden --- |