gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
gem5::statistics::DistStor::Params Struct Reference

The parameters for a distribution stat. More...

#include <storage.hh>

Inheritance diagram for gem5::statistics::DistStor::Params:
gem5::statistics::DistParams gem5::statistics::StorageParams

Public Member Functions

 Params (Counter _min, Counter _max, Counter _bucket_size)
 
- Public Member Functions inherited from gem5::statistics::DistParams
 DistParams (DistType t)
 
- Public Member Functions inherited from gem5::statistics::StorageParams
virtual ~StorageParams ()=default
 

Public Attributes

Counter min
 The minimum value to track. More...
 
Counter max
 The maximum value to track. More...
 
Counter bucket_size
 The number of entries in each bucket. More...
 
size_type buckets
 The number of buckets. More...
 
- Public Attributes inherited from gem5::statistics::DistParams
const DistType type
 

Detailed Description

The parameters for a distribution stat.

Definition at line 262 of file storage.hh.

Constructor & Destructor Documentation

◆ Params()

gem5::statistics::DistStor::Params::Params ( Counter  _min,
Counter  _max,
Counter  _bucket_size 
)
inline

Definition at line 273 of file storage.hh.

References bucket_size, buckets, fatal_if, max, min, and warn_if.

Member Data Documentation

◆ bucket_size

Counter gem5::statistics::DistStor::Params::bucket_size

The number of entries in each bucket.

Definition at line 269 of file storage.hh.

Referenced by Params(), gem5::statistics::DistStor::prepare(), gem5::statistics::DistStor::reset(), and TEST().

◆ buckets

size_type gem5::statistics::DistStor::Params::buckets

The number of buckets.

Equal to (max-min)/bucket_size.

Definition at line 271 of file storage.hh.

Referenced by Params(), gem5::statistics::DistStor::prepare(), and TEST().

◆ max

Counter gem5::statistics::DistStor::Params::max

The maximum value to track.

Definition at line 267 of file storage.hh.

Referenced by Params(), gem5::statistics::DistStor::prepare(), prepareCheckDistStor(), gem5::statistics::DistStor::reset(), and TEST().

◆ min

Counter gem5::statistics::DistStor::Params::min

The minimum value to track.

Definition at line 265 of file storage.hh.

Referenced by Params(), gem5::statistics::DistStor::prepare(), prepareCheckDistStor(), gem5::statistics::DistStor::reset(), and TEST().


The documentation for this struct was generated from the following file:

Generated on Wed Dec 21 2022 10:24:27 for gem5 by doxygen 1.9.1