gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::statistics::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 gem5::statistics::VectorProxy< Stat >

Definition at line 1060 of file statistics.hh.

Constructor & Destructor Documentation

◆ VectorProxy() [1/2]

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

Definition at line 1106 of file statistics.hh.

◆ VectorProxy() [2/2]

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

Definition at line 1111 of file statistics.hh.

Member Function Documentation

◆ data() [1/2]

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

Definition at line 1071 of file statistics.hh.

◆ data() [2/2]

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

Definition at line 1078 of file statistics.hh.

◆ operator=()

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

Definition at line 1117 of file statistics.hh.

◆ operator[]()

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

Definition at line 1126 of file statistics.hh.

◆ result()

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

Definition at line 1086 of file statistics.hh.

◆ size()

◆ total()

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

Definition at line 1097 of file statistics.hh.

Member Data Documentation

◆ len

template<class Stat>
size_type gem5::statistics::VectorProxy< Stat >::len
private

Definition at line 1065 of file statistics.hh.

◆ offset

template<class Stat>
off_type gem5::statistics::VectorProxy< Stat >::offset
private

Definition at line 1064 of file statistics.hh.

◆ stat

template<class Stat>
Stat& gem5::statistics::VectorProxy< Stat >::stat
private

Definition at line 1063 of file statistics.hh.

◆ vec

template<class Stat>
VResult gem5::statistics::VectorProxy< Stat >::vec
mutableprivate

Definition at line 1068 of file statistics.hh.


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

Generated on Mon May 26 2025 09:19:39 for gem5 by doxygen 1.13.2