gem5  v20.0.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Stats::VectorProxy< Stat > Class Template Reference

#include <statistics.hh>

Public Member Functions

const VResultresult () const
 
Result total () const
 
 VectorProxy (Stat &s, off_type o, size_type l)
 
 VectorProxy (const VectorProxy &sp)
 
const VectorProxyoperator= (const VectorProxy &sp)
 
ScalarProxy< Stat > operator[] (off_type index)
 
size_type size () const
 

Private Member Functions

Stat::Storage * data (off_type index)
 
const Stat::Storage * data (off_type index) const
 

Private Attributes

Stat & stat
 
off_type offset
 
size_type len
 
VResult vec
 

Detailed Description

template<class Stat>
class Stats::VectorProxy< Stat >

Definition at line 1170 of file statistics.hh.

Constructor & Destructor Documentation

◆ VectorProxy() [1/2]

template<class Stat >
Stats::VectorProxy< Stat >::VectorProxy ( Stat &  s,
off_type  o,
size_type  l 
)
inline

Definition at line 1216 of file statistics.hh.

◆ VectorProxy() [2/2]

template<class Stat >
Stats::VectorProxy< Stat >::VectorProxy ( const VectorProxy< Stat > &  sp)
inline

Definition at line 1221 of file statistics.hh.

Member Function Documentation

◆ data() [1/2]

template<class Stat >
Stat::Storage* Stats::VectorProxy< Stat >::data ( off_type  index)
inlineprivate

Definition at line 1181 of file statistics.hh.

◆ data() [2/2]

template<class Stat >
const Stat::Storage* Stats::VectorProxy< Stat >::data ( off_type  index) const
inlineprivate

Definition at line 1188 of file statistics.hh.

◆ operator=()

template<class Stat >
const VectorProxy& Stats::VectorProxy< Stat >::operator= ( const VectorProxy< Stat > &  sp)
inline

◆ operator[]()

template<class Stat >
ScalarProxy<Stat> Stats::VectorProxy< Stat >::operator[] ( off_type  index)
inline

Definition at line 1236 of file statistics.hh.

References MipsISA::index.

◆ result()

template<class Stat >
const VResult& Stats::VectorProxy< Stat >::result ( ) const
inline

Definition at line 1196 of file statistics.hh.

References data, and ArmISA::i.

◆ size()

template<class Stat >
size_type Stats::VectorProxy< Stat >::size ( ) const
inline

Definition at line 1242 of file statistics.hh.

References ArmISA::len.

◆ total()

template<class Stat >
Result Stats::VectorProxy< Stat >::total ( ) const
inline

Definition at line 1207 of file statistics.hh.

References data, ArmISA::i, and Stats::total.

Member Data Documentation

◆ len

template<class Stat >
size_type Stats::VectorProxy< Stat >::len
private

Definition at line 1175 of file statistics.hh.

Referenced by Stats::VectorProxy< Stat >::operator=().

◆ offset

template<class Stat >
off_type Stats::VectorProxy< Stat >::offset
private

Definition at line 1174 of file statistics.hh.

Referenced by Stats::VectorProxy< Stat >::operator=().

◆ stat

template<class Stat >
Stat& Stats::VectorProxy< Stat >::stat
private

Definition at line 1173 of file statistics.hh.

Referenced by Stats::VectorProxy< Stat >::operator=().

◆ vec

template<class Stat >
VResult Stats::VectorProxy< Stat >::vec
mutableprivate

Definition at line 1178 of file statistics.hh.


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

Generated on Fri Jul 3 2020 15:53:57 for gem5 by doxygen 1.8.13