gem5  v22.1.0.0
Classes | Namespaces | Typedefs | Functions
statistics.hh File Reference

Declaration of Statistics objects. More...

#include <algorithm>
#include <cassert>
#include <cmath>
#include <functional>
#include <iosfwd>
#include <list>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "base/cast.hh"
#include "base/compiler.hh"
#include "base/cprintf.hh"
#include "base/intmath.hh"
#include "base/logging.hh"
#include "base/stats/group.hh"
#include "base/stats/info.hh"
#include "base/stats/output.hh"
#include "base/stats/storage.hh"
#include "base/stats/types.hh"
#include "base/stats/units.hh"
#include "base/str.hh"
#include "base/types.hh"

Go to the source code of this file.

Classes

class  gem5::statistics::InfoProxy< Stat, Base >
 
class  gem5::statistics::ScalarInfoProxy< Stat >
 
class  gem5::statistics::VectorInfoProxy< Stat >
 
class  gem5::statistics::DistInfoProxy< Stat >
 
class  gem5::statistics::VectorDistInfoProxy< Stat >
 
class  gem5::statistics::Vector2dInfoProxy< Stat >
 
class  gem5::statistics::InfoAccess
 
class  gem5::statistics::DataWrap< Derived, InfoProxyType >
 
class  gem5::statistics::DataWrapVec< Derived, InfoProxyType >
 
class  gem5::statistics::DataWrapVec2d< Derived, InfoProxyType >
 
class  gem5::statistics::ScalarBase< Derived, Stor >
 Implementation of a scalar stat. More...
 
class  gem5::statistics::ProxyInfo
 
class  gem5::statistics::ValueProxy< T >
 
class  gem5::statistics::FunctorProxy< T, Enabled >
 
class  gem5::statistics::MethodProxy< T, V >
 A proxy similar to the FunctorProxy, but allows calling a method of a bound object, instead of a global free-standing function. More...
 
class  gem5::statistics::ValueBase< Derived >
 
class  gem5::statistics::ScalarProxy< Stat >
 A proxy class to access the stat at a given index in a VectorBase stat. More...
 
class  gem5::statistics::VectorBase< Derived, Stor >
 Implementation of a vector of stats. More...
 
class  gem5::statistics::VectorProxy< Stat >
 
class  gem5::statistics::Vector2dBase< Derived, Stor >
 
class  gem5::statistics::DistBase< Derived, Stor >
 Implementation of a distribution stat. More...
 
class  gem5::statistics::VectorDistBase< Derived, Stor >
 
class  gem5::statistics::DistProxy< Stat >
 
class  gem5::statistics::Node
 Base class for formula statistic node. More...
 
class  gem5::statistics::ScalarStatNode
 
class  gem5::statistics::ScalarProxyNode< Stat >
 
class  gem5::statistics::VectorStatNode
 
class  gem5::statistics::ConstNode< T >
 
class  gem5::statistics::ConstVectorNode< T >
 
struct  gem5::statistics::OpString< std::plus< Result > >
 
struct  gem5::statistics::OpString< std::minus< Result > >
 
struct  gem5::statistics::OpString< std::multiplies< Result > >
 
struct  gem5::statistics::OpString< std::divides< Result > >
 
struct  gem5::statistics::OpString< std::modulus< Result > >
 
struct  gem5::statistics::OpString< std::negate< Result > >
 
class  gem5::statistics::UnaryNode< Op >
 
class  gem5::statistics::BinaryNode< Op >
 
class  gem5::statistics::SumNode< Op >
 
class  gem5::statistics::Scalar
 This is a simple scalar statistic, like a counter. More...
 
class  gem5::statistics::Average
 A stat that calculates the per tick average of a value. More...
 
class  gem5::statistics::Value
 
class  gem5::statistics::Vector
 A vector of scalar stats. More...
 
class  gem5::statistics::AverageVector
 A vector of Average stats. More...
 
class  gem5::statistics::Vector2d
 A 2-Dimensional vecto of scalar stats. More...
 
class  gem5::statistics::Distribution
 A simple distribution stat. More...
 
class  gem5::statistics::Histogram
 A simple histogram stat. More...
 
class  gem5::statistics::StandardDeviation
 Calculates the mean and variance of all the samples. More...
 
class  gem5::statistics::AverageDeviation
 Calculates the per tick mean and variance of the samples. More...
 
class  gem5::statistics::VectorDistribution
 A vector of distributions. More...
 
class  gem5::statistics::VectorStandardDeviation
 This is a vector of StandardDeviation stats. More...
 
class  gem5::statistics::VectorAverageDeviation
 This is a vector of AverageDeviation stats. More...
 
class  gem5::statistics::FormulaInfoProxy< Stat >
 
class  gem5::statistics::SparseHistInfoProxy< Stat >
 
class  gem5::statistics::SparseHistBase< Derived, Stor >
 Implementation of a sparse histogram stat. More...
 
class  gem5::statistics::SparseHistogram
 
class  gem5::statistics::Formula
 A formula for statistics that is calculated when printed. More...
 
class  gem5::statistics::FormulaNode
 
class  gem5::statistics::Temp
 Helper class to construct formula node trees. More...
 

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 
 gem5::statistics
 

Typedefs

typedef std::shared_ptr< Node > gem5::statistics::NodePtr
 Shared pointer to a function Node. More...
 
typedef void(* gem5::statistics::Handler) ()
 Register reset and dump handlers. More...
 
typedef std::map< const void *, Info * > gem5::statistics::MapType
 

Functions

 gem5::GEM5_DEPRECATED_NAMESPACE (Stats, statistics)
 
Temp gem5::statistics::operator+ (Temp l, Temp r)
 
Temp gem5::statistics::operator- (Temp l, Temp r)
 
Temp gem5::statistics::operator* (Temp l, Temp r)
 
Temp gem5::statistics::operator/ (Temp l, Temp r)
 
Temp gem5::statistics::operator- (Temp l)
 
template<typename T >
Temp gem5::statistics::constant (T val)
 
template<typename T >
Temp gem5::statistics::constantVector (T val)
 
Temp gem5::statistics::sum (Temp val)
 
void gem5::statistics::dump ()
 Dump all statistics data to the registered outputs. More...
 
void gem5::statistics::reset ()
 
void gem5::statistics::enable ()
 
bool gem5::statistics::enabled ()
 
const Info * gem5::statistics::resolve (const std::string &name)
 
void gem5::statistics::registerHandlers (Handler reset_handler, Handler dump_handler)
 
void gem5::statistics::registerResetCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are reset. More...
 
void gem5::statistics::registerDumpCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are about to be dumped. More...
 
void gem5::statistics::processResetQueue ()
 Process all the callbacks in the reset callbacks queue. More...
 
void gem5::statistics::processDumpQueue ()
 Process all the callbacks in the dump callbacks queue. More...
 
std::list< Info * > & gem5::statistics::statsList ()
 
MapType & gem5::statistics::statsMap ()
 
void gem5::debugDumpStats ()
 

Detailed Description

Declaration of Statistics objects.

Definition in file statistics.hh.


Generated on Wed Dec 21 2022 10:22:53 for gem5 by doxygen 1.9.1