gem5  v21.1.0.2
Profiler.cc
Go to the documentation of this file.
1 /*
2  * Copyright (c) 1999-2013 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;
9  * redistributions in binary form must reproduce the above copyright
10  * notice, this list of conditions and the following disclaimer in the
11  * documentation and/or other materials provided with the distribution;
12  * neither the name of the copyright holders nor the names of its
13  * contributors may be used to endorse or promote products derived from
14  * this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
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 /*
30  This file has been modified by Kevin Moore and Dan Nussbaum of the
31  Scalable Systems Research Group at Sun Microsystems Laboratories
32  (http://research.sun.com/scalable/) to support the Adaptive
33  Transactional Memory Test Platform (ATMTP).
34 
35  Please send email to atmtp-interest@sun.com with feedback, questions, or
36  to request future announcements about ATMTP.
37 
38  ----------------------------------------------------------------------
39 
40  File modification date: 2008-02-23
41 
42  ----------------------------------------------------------------------
43 */
44 
46 
47 #include <sys/types.h>
48 #include <unistd.h>
49 
50 #include <algorithm>
51 #include <fstream>
52 
53 #include "base/stl_helpers.hh"
54 #include "base/str.hh"
55 #include "config/build_gpu.hh"
58 #include "mem/ruby/protocol/MachineType.hh"
59 #include "mem/ruby/protocol/RubyRequest.hh"
60 
74 #if BUILD_GPU
76 
77 #endif
78 
80 
81 namespace gem5
82 {
83 
84 namespace ruby
85 {
86 
87 using stl_helpers::operator<<;
88 
89 Profiler::Profiler(const RubySystemParams &p, RubySystem *rs)
90  : m_ruby_system(rs), m_hot_lines(p.hot_lines),
91  m_all_instructions(p.all_instructions),
92  m_num_vnets(p.number_of_virtual_networks),
93  rubyProfilerStats(rs, this)
94 {
95  m_address_profiler_ptr = new AddressProfiler(p.num_of_sequencers, this);
98 
99  if (m_all_instructions) {
100  m_inst_profiler_ptr = new AddressProfiler(p.num_of_sequencers, this);
103  }
104 }
105 
107 {
108 }
109 
112  : statistics::Group(parent),
113  perRequestTypeStats(parent),
114  perMachineTypeStats(parent),
115  perRequestTypeMachineTypeStats(parent),
116  ADD_STAT(delayHistogram, "delay histogram for all message"),
117  ADD_STAT(m_outstandReqHistSeqr, ""),
118  ADD_STAT(m_outstandReqHistCoalsr, ""),
119  ADD_STAT(m_latencyHistSeqr, ""),
120  ADD_STAT(m_latencyHistCoalsr, ""),
121  ADD_STAT(m_hitLatencyHistSeqr, ""),
122  ADD_STAT(m_missLatencyHistSeqr, ""),
123  ADD_STAT(m_missLatencyHistCoalsr, "")
124 {
126  .init(10)
128 
129  for (int i = 0; i < profiler->m_num_vnets; i++) {
130  delayVCHistogram.push_back(new statistics::Histogram(this));
132  ->init(10)
133  .name(csprintf("delayVCHist.vnet_%i", i))
134  .desc(csprintf("delay histogram for vnet_%i", i))
136  }
137 
139  .init(10)
141 
143  .init(10)
145 
147  .init(10)
149 
151  .init(10)
153 
155  .init(10)
157 
159  .init(10)
161 
163  .init(10)
165 }
166 
169  : statistics::Group(parent, "RequestType")
170 {
171  for (int i = 0; i < RubyRequestType_NUM; i++) {
172  m_typeLatencyHistSeqr.push_back(new statistics::Histogram(this));
174  ->init(10)
175  .name(csprintf("%s.latency_hist_seqr", RubyRequestType(i)))
176  .desc("")
178 
179  m_typeLatencyHistCoalsr.push_back(new statistics::Histogram(this));
181  ->init(10)
182  .name(csprintf("%s.latency_hist_coalsr", RubyRequestType(i)))
183  .desc("")
185 
186  m_hitTypeLatencyHistSeqr.push_back(new statistics::Histogram(this));
188  ->init(10)
189  .name(csprintf("%s.hit_latency_hist_seqr", RubyRequestType(i)))
190  .desc("")
192 
195  ->init(10)
196  .name(csprintf("%s.miss_latency_hist_seqr", RubyRequestType(i)))
197  .desc("")
199 
202  ->init(10)
203  .name(csprintf("%s.miss_latency_hist_coalsr", RubyRequestType(i)))
204  .desc("")
206  }
207 }
208 
211  : statistics::Group(parent, "MachineType")
212 {
213  for (int i = 0; i < MachineType_NUM; i++) {
214  m_hitMachLatencyHistSeqr.push_back(new statistics::Histogram(this));
216  ->init(10)
217  .name(csprintf("%s.hit_mach_latency_hist_seqr", MachineType(i)))
218  .desc("")
220 
223  ->init(10)
224  .name(csprintf("%s.miss_mach_latency_hist_seqr", MachineType(i)))
225  .desc("")
227 
230  ->init(10)
231  .name(csprintf("%s.miss_mach_latency_hist_coalsr",
232  MachineType(i)))
233  .desc("")
235 
237  new statistics::Histogram(this));
239  ->init(10)
240  .name(csprintf(
241  "%s.miss_latency_hist_seqr.issue_to_initial_request",
242  MachineType(i)))
243  .desc("")
245 
247  new statistics::Histogram(this));
249  ->init(10)
250  .name(csprintf(
251  "%s.miss_latency_hist_coalsr.issue_to_initial_request",
252  MachineType(i)))
253  .desc("")
255 
257  new statistics::Histogram(this));
259  ->init(10)
260  .name(csprintf("%s.miss_latency_hist_seqr.initial_to_forward",
261  MachineType(i)))
262  .desc("")
264 
266  .push_back(new statistics::Histogram(this));
268  ->init(10)
269  .name(csprintf("%s.miss_latency_hist_coalsr.initial_to_forward",
270  MachineType(i)))
271  .desc("")
273 
275  .push_back(new statistics::Histogram(this));
276 
278  ->init(10)
279  .name(csprintf(
280  "%s.miss_latency_hist_seqr.forward_to_first_response",
281  MachineType(i)))
282  .desc("")
284 
286  .push_back(new statistics::Histogram(this));
288  ->init(10)
289  .name(csprintf(
290  "%s.miss_latency_hist_coalsr.forward_to_first_response",
291  MachineType(i)))
292  .desc("")
294 
296  .push_back(new statistics::Histogram(this));
298  ->init(10)
299  .name(csprintf(
300  "%s.miss_latency_hist_seqr.first_response_to_completion",
301  MachineType(i)))
302  .desc("")
304 
306  .push_back(new statistics::Histogram(this));
308  ->init(10)
309  .name(csprintf(
310  "%s.miss_latency_hist_coalsr.first_response_to_completion",
311  MachineType(i)))
312  .desc("")
314 
315  m_IncompleteTimesSeqr.push_back(new statistics::Scalar(this));
317  ->name(csprintf("%s.incomplete_times_seqr", MachineType(i)))
318  .desc("")
319  .flags(statistics::nozero);
320  }
321 }
322 
326  : statistics::Group(parent, "RequestTypeMachineType")
327 {
328  for (int i = 0; i < RubyRequestType_NUM; i++) {
335 
336  for (int j = 0; j < MachineType_NUM; j++) {
338  .push_back(new statistics::Histogram(this));
340  ->init(10)
341  .name(csprintf("%s.%s.hit_type_mach_latency_hist_seqr",
342  RubyRequestType(i), MachineType(j)))
343  .desc("")
346 
348  .push_back(new statistics::Histogram(this));
350  ->init(10)
351  .name(csprintf("%s.%s.miss_type_mach_latency_hist_seqr",
352  RubyRequestType(i), MachineType(j)))
353  .desc("")
356 
358  .push_back(new statistics::Histogram(this));
360  ->init(10)
361  .name(csprintf("%s.%s.miss_type_mach_latency_hist_coalsr",
362  RubyRequestType(i), MachineType(j)))
363  .desc("")
366  }
367  }
368 }
369 
370 void
372 {
373  if (!m_all_instructions) {
375  }
376 
377  if (m_all_instructions) {
379  }
380 
381  for (uint32_t i = 0; i < MachineType_NUM; i++) {
382  for (std::map<uint32_t, AbstractController*>::iterator it =
384  it != m_ruby_system->m_abstract_controls[i].end(); ++it) {
385 
386  AbstractController *ctr = (*it).second;
388 
389  for (uint32_t i = 0; i < m_num_vnets; i++) {
391  delayVCHistogram[i]->add(ctr->getDelayVCHist(i));
392  }
393  }
394  }
395 
396  for (uint32_t i = 0; i < MachineType_NUM; i++) {
397  for (std::map<uint32_t, AbstractController*>::iterator it =
399  it != m_ruby_system->m_abstract_controls[i].end(); ++it) {
400 
401  AbstractController *ctr = (*it).second;
402  Sequencer *seq = ctr->getCPUSequencer();
403  if (seq != NULL) {
406  }
407 #if BUILD_GPU
408  GPUCoalescer *coal = ctr->getGPUCoalescer();
409  if (coal != NULL) {
412  }
413 #endif
414  }
415  }
416 
417  for (uint32_t i = 0; i < MachineType_NUM; i++) {
418  for (std::map<uint32_t, AbstractController*>::iterator it =
420  it != m_ruby_system->m_abstract_controls[i].end(); ++it) {
421 
422  AbstractController *ctr = (*it).second;
423  Sequencer *seq = ctr->getCPUSequencer();
424  if (seq != NULL) {
425  // add all the latencies
432 
433  // add the per request type latencies
434  for (uint32_t j = 0; j < RubyRequestType_NUM; ++j) {
438  ->add(seq->getTypeLatencyHist(j));
442  ->add(seq->getHitTypeLatencyHist(j));
446  ->add(seq->getMissTypeLatencyHist(j));
447  }
448 
449  // add the per machine type miss latencies
450  for (uint32_t j = 0; j < MachineType_NUM; ++j) {
454  ->add(seq->getHitMachLatencyHist(j));
458  ->add(seq->getMissMachLatencyHist(j));
459 
463  ->add(seq->getIssueToInitialDelayHist(MachineType(j)));
464 
468  ->add(seq
469  ->getInitialToForwardDelayHist(MachineType(j)));
473  ->add(seq
474  ->getForwardRequestToFirstResponseHist(
475  MachineType(j)));
476 
480  ->add(seq
481  ->getFirstResponseToCompletionDelayHist(
482  MachineType(j)));
483 
487  seq->getIncompleteTimes(MachineType(j));
488  }
489 
490  // add the per (request, machine) type miss latencies
491  for (uint32_t j = 0; j < RubyRequestType_NUM; j++) {
492  for (uint32_t k = 0; k < MachineType_NUM; k++) {
501  }
502  }
503  }
504 #if BUILD_GPU
505  GPUCoalescer *coal = ctr->getGPUCoalescer();
506  if (coal != NULL) {
507  // add all the latencies
512 
513  // add the per request type latencies
514  for (uint32_t j = 0; j < RubyRequestType_NUM; ++j) {
518  ->add(coal->getTypeLatencyHist(j));
522  ->add(coal->getMissTypeLatencyHist(j));
523  }
524 
525  // add the per machine type miss latencies
526  for (uint32_t j = 0; j < MachineType_NUM; ++j) {
530  ->add(coal->getMissMachLatencyHist(j));
531 
535  ->add(coal->getIssueToInitialDelayHist(
536  MachineType(j)));
537 
541  ->add(coal->getInitialToForwardDelayHist(
542  MachineType(j)));
547  MachineType(j)));
548 
553  MachineType(j)));
554  }
555 
556  // add the per (request, machine) type miss latencies
557  for (uint32_t j = 0; j < RubyRequestType_NUM; j++) {
558  for (uint32_t k = 0; k < MachineType_NUM; k++) {
562  ->add(coal->getMissTypeMachLatencyHist(j,k));
563  }
564  }
565  }
566 #endif
567  }
568  }
569 }
570 
571 void
573 {
574  if (msg.getType() != RubyRequestType_IFETCH) {
575  // Note: The following line should be commented out if you
576  // want to use the special profiling that is part of the GS320
577  // protocol
578 
579  // NOTE: Unless PROFILE_HOT_LINES is enabled, nothing will be
580  // profiled by the AddressProfiler
582  addTraceSample(msg.getLineAddress(), msg.getProgramCounter(),
583  msg.getType(), msg.getAccessMode(), id, false);
584  }
585 }
586 
587 } // namespace ruby
588 } // namespace gem5
gem5::statistics::Scalar
This is a simple scalar statistic, like a counter.
Definition: statistics.hh:1927
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::m_hitTypeMachLatencyHistSeqr
std::vector< std::vector< statistics::Histogram * > > m_hitTypeMachLatencyHistSeqr
Histograms for profiling the latencies for requests that did not required external messages.
Definition: Profiler.hh:161
gem5::ruby::AddressProfiler::setAllInstructions
void setAllInstructions(bool all_instructions)
Definition: AddressProfiler.cc:175
gem5::ruby::Sequencer
Definition: Sequencer.hh:86
gem5::statistics::DistBase::add
void add(DistBase &d)
Add the argument distribution to the this distribution.
Definition: statistics.hh:1357
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_ForwardToFirstResponseDelayHistSeqr
std::vector< statistics::Histogram * > m_ForwardToFirstResponseDelayHistSeqr
Definition: Profiler.hh:140
gem5::ruby::Profiler::ProfilerStats::m_latencyHistSeqr
statistics::Histogram m_latencyHistSeqr
Histogram for holding latency profile of all requests.
Definition: Profiler.hh:179
gem5::ruby::GPUCoalescer::getTypeLatencyHist
statistics::Histogram & getTypeLatencyHist(uint32_t t)
Definition: GPUCoalescer.hh:345
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_missMachLatencyHistCoalsr
std::vector< statistics::Histogram * > m_missMachLatencyHistCoalsr
Definition: Profiler.hh:133
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_IssueToInitialDelayHistCoalsr
std::vector< statistics::Histogram * > m_IssueToInitialDelayHistCoalsr
Definition: Profiler.hh:145
Profiler.hh
gem5::ruby::Sequencer::getTypeLatencyHist
statistics::Histogram & getTypeLatencyHist(uint32_t t)
Definition: Sequencer.hh:151
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_InitialToForwardDelayHistCoalsr
std::vector< statistics::Histogram * > m_InitialToForwardDelayHistCoalsr
Definition: Profiler.hh:147
gem5::ruby::GPUCoalescer::getOutstandReqHist
statistics::Histogram & getOutstandReqHist()
Definition: GPUCoalescer.hh:342
gem5::ruby::Profiler::ProfilerStats::perRequestTypeMachineTypeStats
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats perRequestTypeMachineTypeStats
gem5::ruby::Sequencer::getOutstandReqHist
statistics::Histogram & getOutstandReqHist()
Definition: Sequencer.hh:148
gem5::ruby::AddressProfiler::collateStats
void collateStats()
Definition: AddressProfiler.hh:77
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::m_missTypeMachLatencyHistCoalsr
std::vector< std::vector< statistics::Histogram * > > m_missTypeMachLatencyHistCoalsr
Definition: Profiler.hh:168
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_IncompleteTimesSeqr
std::vector< statistics::Scalar * > m_IncompleteTimesSeqr
Definition: Profiler.hh:143
gem5::ruby::AbstractController::getGPUCoalescer
virtual GPUCoalescer * getGPUCoalescer() const =0
gem5::statistics::nozero
const FlagsType nozero
Don't print if this is zero.
Definition: info.hh:68
gem5::ruby::Sequencer::getIssueToInitialDelayHist
statistics::Histogram & getIssueToInitialDelayHist(uint32_t t) const
Definition: Sequencer.hh:176
gem5::ruby::RubySystem::m_abstract_controls
std::vector< std::map< uint32_t, AbstractController * > > m_abstract_controls
Definition: RubySystem.hh:160
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_hitMachLatencyHistSeqr
std::vector< statistics::Histogram * > m_hitMachLatencyHistSeqr
Histograms for profiling the latencies for requests that did not required external messages.
Definition: Profiler.hh:128
gem5::ruby::Sequencer::getHitMachLatencyHist
statistics::Histogram & getHitMachLatencyHist(uint32_t t)
Definition: Sequencer.hh:158
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::m_missTypeLatencyHistCoalsr
std::vector< statistics::Histogram * > m_missTypeLatencyHistCoalsr
Definition: Profiler.hh:119
gem5::ruby::AbstractController::getDelayHist
statistics::Histogram & getDelayHist()
Definition: AbstractController.hh:177
GPUCoalescer.hh
gem5::ruby::Sequencer::getIncompleteTimes
statistics::Counter getIncompleteTimes(const MachineType t) const
Definition: Sequencer.hh:191
std::vector
STL vector class.
Definition: stl.hh:37
gem5::ruby::Profiler::Profiler
Profiler(const RubySystemParams &params, RubySystem *rs)
Definition: Profiler.cc:89
gem5::csprintf
std::string csprintf(const char *format, const Args &...args)
Definition: cprintf.hh:161
gem5::ruby::Profiler::ProfilerStats::m_missLatencyHistSeqr
statistics::Histogram m_missLatencyHistSeqr
Histogram for holding latency profile of all requests that miss in the controller connected to this s...
Definition: Profiler.hh:188
gem5::ruby::Sequencer::getMissMachLatencyHist
statistics::Histogram & getMissMachLatencyHist(uint32_t t) const
Definition: Sequencer.hh:169
gem5::ruby::Sequencer::getLatencyHist
statistics::Histogram & getLatencyHist()
Definition: Sequencer.hh:150
gem5::ruby::Profiler::ProfilerStats::perMachineTypeStats
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats perMachineTypeStats
gem5::ruby::Sequencer::getMissTypeMachLatencyHist
statistics::Histogram & getMissTypeMachLatencyHist(uint32_t r, uint32_t t) const
Definition: Sequencer.hh:173
gem5::ArmISA::i
Bitfield< 7 > i
Definition: misc_types.hh:66
gem5::ruby::Profiler::ProfilerStats::delayVCHistogram
std::vector< statistics::Histogram * > delayVCHistogram
Definition: Profiler.hh:172
gem5::ruby::AbstractController
Definition: AbstractController.hh:82
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_InitialToForwardDelayHistSeqr
std::vector< statistics::Histogram * > m_InitialToForwardDelayHistSeqr
Definition: Profiler.hh:138
str.hh
gem5::statistics::pdf
const FlagsType pdf
Print the percent of the total that this entry represents.
Definition: info.hh:62
gem5::ruby::AbstractController::getDelayVCHist
statistics::Histogram & getDelayVCHist(uint32_t index)
Definition: AbstractController.hh:178
gem5::ruby::GPUCoalescer::getMissTypeMachLatencyHist
statistics::Histogram & getMissTypeMachLatencyHist(uint32_t r, uint32_t t) const
Definition: GPUCoalescer.hh:357
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::m_hitTypeLatencyHistSeqr
std::vector< statistics::Histogram * > m_hitTypeLatencyHistSeqr
Definition: Profiler.hh:114
gem5::statistics::Histogram
A simple histogram stat.
Definition: statistics.hh:2123
gem5::ruby::Profiler::m_ruby_system
RubySystem * m_ruby_system
Definition: Profiler.hh:77
gem5::ruby::Profiler::ProfilerStats::ProfilerStats
ProfilerStats(statistics::Group *parent, Profiler *profiler)
Definition: Profiler.cc:111
gem5::ruby::Sequencer::getMissTypeLatencyHist
statistics::Histogram & getMissTypeLatencyHist(uint32_t t)
Definition: Sequencer.hh:166
gem5::ArmISA::j
Bitfield< 24 > j
Definition: misc_types.hh:57
gem5::ruby::RubyRequest
Definition: RubyRequest.hh:61
gem5::ruby::GPUCoalescer::getMissMachLatencyHist
statistics::Histogram & getMissMachLatencyHist(uint32_t t) const
Definition: GPUCoalescer.hh:353
gem5::ruby::Sequencer::getHitTypeLatencyHist
statistics::Histogram & getHitTypeLatencyHist(uint32_t t)
Definition: Sequencer.hh:155
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::PerMachineTypeStats
PerMachineTypeStats(statistics::Group *parent)
Definition: Profiler.cc:210
gem5::ruby::AddressProfiler::setHotLines
void setHotLines(bool hot_lines)
Definition: AddressProfiler.cc:169
ADD_STAT
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
Definition: group.hh:75
gem5::ruby::Profiler::ProfilerStats::m_outstandReqHistSeqr
statistics::Histogram m_outstandReqHistSeqr
Histogram for number of outstanding requests per cycle.
Definition: Profiler.hh:175
gem5::ruby::GPUCoalescer::getForwardRequestToFirstResponseHist
statistics::Histogram & getForwardRequestToFirstResponseHist(const MachineType t) const
Definition: GPUCoalescer.hh:368
gem5::ruby::Profiler::m_hot_lines
const bool m_hot_lines
Definition: Profiler.hh:193
gem5::ruby::GPUCoalescer::getMissLatencyHist
statistics::Histogram & getMissLatencyHist()
Definition: GPUCoalescer.hh:348
gem5::MipsISA::p
Bitfield< 0 > p
Definition: pra_constants.hh:326
gem5::ruby::Profiler::ProfilerStats::m_latencyHistCoalsr
statistics::Histogram m_latencyHistCoalsr
Definition: Profiler.hh:180
gem5::ruby::AddressProfiler
Definition: AddressProfiler.hh:50
gem5::ruby::GPUCoalescer::getMissTypeLatencyHist
statistics::Histogram & getMissTypeLatencyHist(uint32_t t)
Definition: GPUCoalescer.hh:350
gem5::ruby::GPUCoalescer::getFirstResponseToCompletionDelayHist
statistics::Histogram & getFirstResponseToCompletionDelayHist(const MachineType t) const
Definition: GPUCoalescer.hh:372
gem5::ruby::Sequencer::getHitTypeMachLatencyHist
statistics::Histogram & getHitTypeMachLatencyHist(uint32_t r, uint32_t t)
Definition: Sequencer.hh:161
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::PerRequestTypeMachineTypeStats
PerRequestTypeMachineTypeStats(statistics::Group *parent)
Definition: Profiler.cc:325
gem5::ruby::RubyRequest::getAccessMode
const RubyAccessMode & getAccessMode() const
Definition: RubyRequest.hh:160
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_missMachLatencyHistSeqr
std::vector< statistics::Histogram * > m_missMachLatencyHistSeqr
Histograms for profiling the latencies for requests that required external messages.
Definition: Profiler.hh:132
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::PerRequestTypeStats
PerRequestTypeStats(statistics::Group *parent)
Definition: Profiler.cc:168
gem5::ruby::Profiler::ProfilerStats::m_hitLatencyHistSeqr
statistics::Histogram m_hitLatencyHistSeqr
Histogram for holding latency profile of all requests that hit in the controller connected to this se...
Definition: Profiler.hh:184
gem5::statistics::Histogram::init
Histogram & init(size_type size)
Set the parameters of this histogram.
Definition: statistics.hh:2151
gem5::ruby::Profiler::m_all_instructions
const bool m_all_instructions
Definition: Profiler.hh:194
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_ForwardToFirstResponseDelayHistCoalsr
std::vector< statistics::Histogram * > m_ForwardToFirstResponseDelayHistCoalsr
Definition: Profiler.hh:149
gem5::ruby::Profiler::addAddressTraceSample
void addAddressTraceSample(const RubyRequest &msg, NodeID id)
Definition: Profiler.cc:572
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::m_missTypeMachLatencyHistSeqr
std::vector< std::vector< statistics::Histogram * > > m_missTypeMachLatencyHistSeqr
Histograms for profiling the latencies for requests that required external messages.
Definition: Profiler.hh:166
Network.hh
gem5::ruby::RubySystem
Definition: RubySystem.hh:63
gem5::ruby::RubyRequest::getProgramCounter
Addr getProgramCounter() const
Definition: RubyRequest.hh:159
gem5::ruby::Profiler::ProfilerStats::perRequestTypeStats
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats perRequestTypeStats
gem5::ruby::Profiler::collateStats
void collateStats()
Definition: Profiler.cc:371
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_FirstResponseToCompletionDelayHistSeqr
std::vector< statistics::Histogram * > m_FirstResponseToCompletionDelayHistSeqr
Definition: Profiler.hh:142
gem5::ruby::GPUCoalescer::getLatencyHist
statistics::Histogram & getLatencyHist()
Definition: GPUCoalescer.hh:344
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_IssueToInitialDelayHistSeqr
std::vector< statistics::Histogram * > m_IssueToInitialDelayHistSeqr
Histograms for recording the breakdown of miss latency.
Definition: Profiler.hh:136
gem5::statistics::oneline
const FlagsType oneline
Print all values on a single line.
Definition: info.hh:72
gem5::ruby::Sequencer::getHitLatencyHist
statistics::Histogram & getHitLatencyHist()
Definition: Sequencer.hh:154
gem5::statistics::Group
Statistics container.
Definition: group.hh:93
gem5::ruby::Profiler::ProfilerStats::m_missLatencyHistCoalsr
statistics::Histogram m_missLatencyHistCoalsr
Definition: Profiler.hh:189
gem5::ruby::NodeID
unsigned int NodeID
Definition: TypeDefines.hh:40
gem5::ruby::GPUCoalescer::getIssueToInitialDelayHist
statistics::Histogram & getIssueToInitialDelayHist(uint32_t t) const
Definition: GPUCoalescer.hh:360
gem5::MipsISA::k
Bitfield< 23 > k
Definition: dt_constants.hh:81
gem5::ruby::RubyRequest::getType
const RubyRequestType & getType() const
Definition: RubyRequest.hh:158
gem5::statistics::DataWrap::flags
Derived & flags(Flags _flags)
Set the flags and marks this stat to print at the end of simulation.
Definition: statistics.hh:355
gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::m_FirstResponseToCompletionDelayHistCoalsr
std::vector< statistics::Histogram * > m_FirstResponseToCompletionDelayHistCoalsr
Definition: Profiler.hh:151
AddressProfiler.hh
gem5::ruby::Profiler::~Profiler
~Profiler()
Definition: Profiler.cc:106
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::m_typeLatencyHistSeqr
std::vector< statistics::Histogram * > m_typeLatencyHistSeqr
Definition: Profiler.hh:109
gem5::ruby::Profiler::ProfilerStats::delayHistogram
statistics::Histogram delayHistogram
Definition: Profiler.hh:171
gem5::ruby::Profiler::m_num_vnets
const uint32_t m_num_vnets
Definition: Profiler.hh:195
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::m_typeLatencyHistCoalsr
std::vector< statistics::Histogram * > m_typeLatencyHistCoalsr
Definition: Profiler.hh:110
gem5
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Definition: decoder.cc:40
gem5::ruby::Profiler::rubyProfilerStats
ProfilerStats rubyProfilerStats
Definition: Profiler.hh:199
gem5::ruby::Sequencer::getMissLatencyHist
statistics::Histogram & getMissLatencyHist()
Definition: Sequencer.hh:164
gem5::ruby::Profiler
Definition: Profiler.hh:71
stl_helpers.hh
gem5::ruby::RubyRequest::getLineAddress
Addr getLineAddress() const
Definition: RubyRequest.hh:156
gem5::ruby::Profiler::ProfilerStats::m_outstandReqHistCoalsr
statistics::Histogram m_outstandReqHistCoalsr
Definition: Profiler.hh:176
gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::m_missTypeLatencyHistSeqr
std::vector< statistics::Histogram * > m_missTypeLatencyHistSeqr
Definition: Profiler.hh:118
gem5::ruby::GPUCoalescer::getInitialToForwardDelayHist
statistics::Histogram & getInitialToForwardDelayHist(const MachineType t) const
Definition: GPUCoalescer.hh:364
gem5::ruby::GPUCoalescer
Definition: GPUCoalescer.hh:215
gem5::ArmISA::rs
Bitfield< 9, 8 > rs
Definition: misc_types.hh:376
gem5::ruby::Profiler::m_inst_profiler_ptr
AddressProfiler * m_inst_profiler_ptr
Definition: Profiler.hh:98
gem5::ruby::Profiler::m_address_profiler_ptr
AddressProfiler * m_address_profiler_ptr
Definition: Profiler.hh:97
gem5::ruby::AbstractController::getCPUSequencer
virtual Sequencer * getCPUSequencer() const =0
Sequencer.hh

Generated on Tue Sep 21 2021 12:25:41 for gem5 by doxygen 1.8.17