Profiler.hh (11172:9261e98e4501) | Profiler.hh (11309:9be8a40026df) |
---|---|
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; --- 80 unchanged lines hidden (view full) --- 89 90 AddressProfiler* m_address_profiler_ptr; 91 AddressProfiler* m_inst_profiler_ptr; 92 93 Stats::Histogram delayHistogram; 94 std::vector<Stats::Histogram *> delayVCHistogram; 95 96 //! Histogram for number of outstanding requests per cycle. | 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; --- 80 unchanged lines hidden (view full) --- 89 90 AddressProfiler* m_address_profiler_ptr; 91 AddressProfiler* m_inst_profiler_ptr; 92 93 Stats::Histogram delayHistogram; 94 std::vector<Stats::Histogram *> delayVCHistogram; 95 96 //! Histogram for number of outstanding requests per cycle. |
97 Stats::Histogram m_outstandReqHist; | 97 Stats::Histogram m_outstandReqHistSeqr; 98 Stats::Histogram m_outstandReqHistCoalsr; |
98 99 //! Histogram for holding latency profile of all requests. | 99 100 //! Histogram for holding latency profile of all requests. |
100 Stats::Histogram m_latencyHist; 101 std::vector<Stats::Histogram *> m_typeLatencyHist; | 101 Stats::Histogram m_latencyHistSeqr; 102 Stats::Histogram m_latencyHistCoalsr; 103 std::vector<Stats::Histogram *> m_typeLatencyHistSeqr; 104 std::vector<Stats::Histogram *> m_typeLatencyHistCoalsr; |
102 103 //! Histogram for holding latency profile of all requests that 104 //! hit in the controller connected to this sequencer. | 105 106 //! Histogram for holding latency profile of all requests that 107 //! hit in the controller connected to this sequencer. |
105 Stats::Histogram m_hitLatencyHist; 106 std::vector | 108 Stats::Histogram m_hitLatencyHistSeqr; 109 std::vector<Stats::Histogram *> m_hitTypeLatencyHistSeqr; |
107 108 //! Histograms for profiling the latencies for requests that 109 //! did not required external messages. | 110 111 //! Histograms for profiling the latencies for requests that 112 //! did not required external messages. |
110 std::vector 111 std::vector< std::vector | 113 std::vector<Stats::Histogram *> m_hitMachLatencyHistSeqr; 114 std::vector< std::vector<Stats::Histogram *> > m_hitTypeMachLatencyHistSeqr; |
112 113 //! Histogram for holding latency profile of all requests that 114 //! miss in the controller connected to this sequencer. | 115 116 //! Histogram for holding latency profile of all requests that 117 //! miss in the controller connected to this sequencer. |
115 Stats::Histogram m_missLatencyHist; 116 std::vector<Stats::Histogram *> m_missTypeLatencyHist; | 118 Stats::Histogram m_missLatencyHistSeqr; 119 Stats::Histogram m_missLatencyHistCoalsr; 120 std::vector<Stats::Histogram *> m_missTypeLatencyHistSeqr; 121 std::vector<Stats::Histogram *> m_missTypeLatencyHistCoalsr; |
117 118 //! Histograms for profiling the latencies for requests that 119 //! required external messages. | 122 123 //! Histograms for profiling the latencies for requests that 124 //! required external messages. |
120 std::vector 121 std::vector< std::vector | 125 std::vector<Stats::Histogram *> m_missMachLatencyHistSeqr; 126 std::vector< std::vector<Stats::Histogram *> > m_missTypeMachLatencyHistSeqr; 127 std::vector<Stats::Histogram *> m_missMachLatencyHistCoalsr; 128 std::vector< std::vector<Stats::Histogram *> > m_missTypeMachLatencyHistCoalsr; |
122 123 //! Histograms for recording the breakdown of miss latency | 129 130 //! Histograms for recording the breakdown of miss latency |
124 std::vector 125 std::vector 126 std::vector 127 std::vector 128 Stats::Scalar m_IncompleteTimes[MachineType_NUM]; | 131 std::vector<Stats::Histogram *> m_IssueToInitialDelayHistSeqr; 132 std::vector<Stats::Histogram *> m_InitialToForwardDelayHistSeqr; 133 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHistSeqr; 134 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHistSeqr; 135 Stats::Scalar m_IncompleteTimesSeqr[MachineType_NUM]; 136 std::vector<Stats::Histogram *> m_IssueToInitialDelayHistCoalsr; 137 std::vector<Stats::Histogram *> m_InitialToForwardDelayHistCoalsr; 138 std::vector<Stats::Histogram *> m_ForwardToFirstResponseDelayHistCoalsr; 139 std::vector<Stats::Histogram *> m_FirstResponseToCompletionDelayHistCoalsr; |
129 130 //added by SS 131 const bool m_hot_lines; 132 const bool m_all_instructions; 133 const uint32_t m_num_vnets; 134}; 135 136#endif // __MEM_RUBY_PROFILER_PROFILER_HH__ | 140 141 //added by SS 142 const bool m_hot_lines; 143 const bool m_all_instructions; 144 const uint32_t m_num_vnets; 145}; 146 147#endif // __MEM_RUBY_PROFILER_PROFILER_HH__ |