gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
sc_core::sc_vpool< T > Class Template Reference

#include <sc_temporary.hh>

Public Member Functions

 sc_vpool (int log2, T *pool_p=0)
 
 ~sc_vpool ()
 
T * allocate ()
 
void reset ()
 
std::size_t size ()
 

Protected Attributes

std::size_t m_pool_i
 
T * m_pool_p
 
std::size_t m_wrap
 

Detailed Description

template<class T>
class sc_core::sc_vpool< T >

Definition at line 182 of file sc_temporary.hh.

Constructor & Destructor Documentation

◆ sc_vpool()

template<class T >
sc_core::sc_vpool< T >::sc_vpool ( int  log2,
T *  pool_p = 0 
)
inline

Definition at line 198 of file sc_temporary.hh.

◆ ~sc_vpool()

template<class T >
sc_core::sc_vpool< T >::~sc_vpool
inline

Definition at line 206 of file sc_temporary.hh.

Member Function Documentation

◆ allocate()

template<class T >
T * sc_core::sc_vpool< T >::allocate
inline

Definition at line 212 of file sc_temporary.hh.

Referenced by sc_dt::sc_concat_bool::allocate().

◆ reset()

template<class T >
void sc_core::sc_vpool< T >::reset
inline

Definition at line 222 of file sc_temporary.hh.

◆ size()

template<class T >
std::size_t sc_core::sc_vpool< T >::size
inline

Definition at line 228 of file sc_temporary.hh.

Member Data Documentation

◆ m_pool_i

template<class T >
std::size_t sc_core::sc_vpool< T >::m_pool_i
protected

Definition at line 185 of file sc_temporary.hh.

Referenced by sc_core::sc_byte_heap::sc_byte_heap().

◆ m_pool_p

template<class T >
T* sc_core::sc_vpool< T >::m_pool_p
protected

Definition at line 186 of file sc_temporary.hh.

Referenced by sc_core::sc_byte_heap::sc_byte_heap().

◆ m_wrap

template<class T >
std::size_t sc_core::sc_vpool< T >::m_wrap
protected

Definition at line 187 of file sc_temporary.hh.

Referenced by sc_core::sc_byte_heap::sc_byte_heap().


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

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17