gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
Stats::DistStor::Params Struct Reference

The parameters for a distribution stat. More...

#include <storage.hh>

Inheritance diagram for Stats::DistStor::Params:
Stats::DistParams Stats::StorageParams

Public Member Functions

 Params (Counter _min, Counter _max, Counter _bucket_size)
 
- Public Member Functions inherited from Stats::DistParams
 DistParams (DistType t)
 
- Public Member Functions inherited from Stats::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 Stats::DistParams
const DistType type
 

Detailed Description

The parameters for a distribution stat.

Definition at line 258 of file storage.hh.

Constructor & Destructor Documentation

◆ Params()

Stats::DistStor::Params::Params ( Counter  _min,
Counter  _max,
Counter  _bucket_size 
)
inline

Definition at line 269 of file storage.hh.

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

Member Data Documentation

◆ bucket_size

Counter Stats::DistStor::Params::bucket_size

The number of entries in each bucket.

Definition at line 265 of file storage.hh.

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

◆ buckets

size_type Stats::DistStor::Params::buckets

The number of buckets.

Equal to (max-min)/bucket_size.

Definition at line 267 of file storage.hh.

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

◆ max

Counter Stats::DistStor::Params::max

The maximum value to track.

Definition at line 263 of file storage.hh.

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

◆ min

Counter Stats::DistStor::Params::min

The minimum value to track.

Definition at line 261 of file storage.hh.

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


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

Generated on Tue Jun 22 2021 15:29:13 for gem5 by doxygen 1.8.17