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

The parameters for a distribution stat. More...

#include <storage.hh>

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

Public Member Functions

 Params (size_type _buckets)
 
- Public Member Functions inherited from Stats::DistParams
 DistParams (DistType t)
 
- Public Member Functions inherited from Stats::StorageParams
virtual ~StorageParams ()=default
 

Public Attributes

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 456 of file storage.hh.

Constructor & Destructor Documentation

◆ Params()

Stats::HistStor::Params::Params ( size_type  _buckets)
inline

Definition at line 461 of file storage.hh.

References buckets, and fatal_if.

Member Data Documentation

◆ buckets

size_type Stats::HistStor::Params::buckets

The number of buckets.

Definition at line 459 of file storage.hh.

Referenced by Params(), Stats::HistStor::prepare(), Stats::HistStor::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