gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 1139 of file statistics.hh.

Constructor & Destructor Documentation

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

Definition at line 1185 of file statistics.hh.

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

Definition at line 1190 of file statistics.hh.

Member Function Documentation

template<class Stat >
Stat::Storage* Stats::VectorProxy< Stat >::data ( off_type  index)
inlineprivate
template<class Stat >
const Stat::Storage* Stats::VectorProxy< Stat >::data ( off_type  index) const
inlineprivate
template<class Stat >
const VectorProxy& Stats::VectorProxy< Stat >::operator= ( const VectorProxy< Stat > &  sp)
inline
template<class Stat >
ScalarProxy<Stat> Stats::VectorProxy< Stat >::operator[] ( off_type  index)
inline
template<class Stat >
const VResult& Stats::VectorProxy< Stat >::result ( ) const
inline
template<class Stat >
size_type Stats::VectorProxy< Stat >::size ( ) const
inline
template<class Stat >
Result Stats::VectorProxy< Stat >::total ( ) const
inline

Member Data Documentation

template<class Stat >
size_type Stats::VectorProxy< Stat >::len
private
template<class Stat >
off_type Stats::VectorProxy< Stat >::offset
private
template<class Stat >
Stat& Stats::VectorProxy< Stat >::stat
private
template<class Stat >
VResult Stats::VectorProxy< Stat >::vec
mutableprivate

Definition at line 1147 of file statistics.hh.

Referenced by Stats::VectorProxy< Stat >::result().


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

Generated on Fri Jun 9 2017 13:04:39 for gem5 by doxygen 1.8.6