gem5 v24.0.0.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]

◆ data() [2/2]

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

◆ operator=()

◆ operator[]()

◆ result()

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

◆ size()

◆ total()

Member Data Documentation

◆ len

◆ offset

◆ stat

◆ vec

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

Definition at line 1068 of file statistics.hh.

Referenced by gem5::statistics::VectorProxy< Stat >::result().


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0