gem5 v25.0.0.1
Loading...
Searching...
No Matches
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.
Counter max
 The maximum value to track.
Counter bucket_size
 The number of entries in each bucket.
size_type buckets
 The number of buckets.
Public Attributes inherited from gem5::statistics::DistParams
const DistType type

Detailed Description

The parameters for a distribution stat.

Definition at line 261 of file storage.hh.

Constructor & Destructor Documentation

◆ Params()

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

Member Data Documentation

◆ bucket_size

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

The number of entries in each bucket.

Definition at line 268 of file storage.hh.

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

◆ buckets

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

The number of buckets.

Equal to (max-min)/bucket_size.

Definition at line 270 of file storage.hh.

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

◆ max

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

The maximum value to track.

Definition at line 266 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 264 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 Sat Oct 18 2025 08:07:03 for gem5 by doxygen 1.14.0