gem5  v21.2.0.0
Public Member Functions | Public Attributes | List of all members
ValueSamples Struct Reference

A pair of value and its number of samples, used for sampling. More...

Public Member Functions

 ValueSamples (statistics::Counter value, statistics::Counter num_samples)
 

Public Attributes

statistics::Counter value
 
statistics::Counter numSamples
 

Detailed Description

A pair of value and its number of samples, used for sampling.

Definition at line 47 of file storage.test.cc.

Constructor & Destructor Documentation

◆ ValueSamples()

ValueSamples::ValueSamples ( statistics::Counter  value,
statistics::Counter  num_samples 
)
inline

Definition at line 52 of file storage.test.cc.

Member Data Documentation

◆ numSamples

statistics::Counter ValueSamples::numSamples

Definition at line 50 of file storage.test.cc.

Referenced by prepareCheckDistStor(), prepareCheckHistStor(), and TEST().

◆ value

statistics::Counter ValueSamples::value

Definition at line 49 of file storage.test.cc.

Referenced by prepareCheckDistStor(), prepareCheckHistStor(), and TEST().


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

Generated on Tue Dec 21 2021 11:34:54 for gem5 by doxygen 1.8.17