AddressProfiler.hh (6285:ce086eca1ede) | AddressProfiler.hh (6433:0f0f0fbef977) |
---|---|
1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 49 unchanged lines hidden (view full) --- 58 // Destructor 59 ~AddressProfiler(); 60 61 // Public Methods 62 void printStats(ostream& out) const; 63 void clearStats(); 64 65 void addTraceSample(Address data_addr, Address pc_addr, CacheRequestType type, AccessModeType access_mode, NodeID id, bool sharing_miss); | 1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 49 unchanged lines hidden (view full) --- 58 // Destructor 59 ~AddressProfiler(); 60 61 // Public Methods 62 void printStats(ostream& out) const; 63 void clearStats(); 64 65 void addTraceSample(Address data_addr, Address pc_addr, CacheRequestType type, AccessModeType access_mode, NodeID id, bool sharing_miss); |
66 void profilePersistentPrediction(const Address& data_addr, AccessType type); | |
67 void profileRetry(const Address& data_addr, AccessType type, int count); 68 void profileGetX(const Address& datablock, const Address& PC, const Set& owner, const Set& sharers, NodeID requestor); 69 void profileGetS(const Address& datablock, const Address& PC, const Set& owner, const Set& sharers, NodeID requestor); 70 71 void print(ostream& out) const; 72 73 //added by SS 74 void setHotLines(bool hot_lines); --- 7 unchanged lines hidden (view full) --- 82 83 // Data Members (m_ prefix) 84 int64 m_sharing_miss_counter; 85 86 Map<Address, AccessTraceForAddress>* m_dataAccessTrace; 87 Map<Address, AccessTraceForAddress>* m_macroBlockAccessTrace; 88 Map<Address, AccessTraceForAddress>* m_programCounterAccessTrace; 89 Map<Address, AccessTraceForAddress>* m_retryProfileMap; | 66 void profileRetry(const Address& data_addr, AccessType type, int count); 67 void profileGetX(const Address& datablock, const Address& PC, const Set& owner, const Set& sharers, NodeID requestor); 68 void profileGetS(const Address& datablock, const Address& PC, const Set& owner, const Set& sharers, NodeID requestor); 69 70 void print(ostream& out) const; 71 72 //added by SS 73 void setHotLines(bool hot_lines); --- 7 unchanged lines hidden (view full) --- 81 82 // Data Members (m_ prefix) 83 int64 m_sharing_miss_counter; 84 85 Map<Address, AccessTraceForAddress>* m_dataAccessTrace; 86 Map<Address, AccessTraceForAddress>* m_macroBlockAccessTrace; 87 Map<Address, AccessTraceForAddress>* m_programCounterAccessTrace; 88 Map<Address, AccessTraceForAddress>* m_retryProfileMap; |
90 Map<Address, AccessTraceForAddress>* m_persistentPredictionProfileMap; 91 Histogram m_persistentPredictionProfileHisto; | |
92 Histogram m_retryProfileHisto; 93 Histogram m_retryProfileHistoWrite; 94 Histogram m_retryProfileHistoRead; 95 Histogram m_getx_sharing_histogram; 96 Histogram m_gets_sharing_histogram; 97//added by SS 98 bool m_hot_lines; 99 bool m_all_instructions; --- 18 unchanged lines hidden --- | 89 Histogram m_retryProfileHisto; 90 Histogram m_retryProfileHistoWrite; 91 Histogram m_retryProfileHistoRead; 92 Histogram m_getx_sharing_histogram; 93 Histogram m_gets_sharing_histogram; 94//added by SS 95 bool m_hot_lines; 96 bool m_all_instructions; --- 18 unchanged lines hidden --- |