gem5 v25.0.0.1
Loading...
Searching...
No Matches
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 158 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 174 of file sc_temporary.hh.

References m_pool_i, m_pool_p, and m_wrap.

◆ ~sc_vpool()

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

Definition at line 182 of file sc_temporary.hh.

Member Function Documentation

◆ allocate()

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

Definition at line 188 of file sc_temporary.hh.

References m_pool_i, m_pool_p, and m_wrap.

◆ reset()

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

Definition at line 198 of file sc_temporary.hh.

References m_pool_i.

◆ size()

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

Definition at line 204 of file sc_temporary.hh.

References m_wrap.

Member Data Documentation

◆ m_pool_i

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

Definition at line 161 of file sc_temporary.hh.

Referenced by allocate(), reset(), and sc_vpool().

◆ m_pool_p

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

Definition at line 162 of file sc_temporary.hh.

Referenced by allocate(), and sc_vpool().

◆ m_wrap

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

Definition at line 163 of file sc_temporary.hh.

Referenced by allocate(), sc_vpool(), and size().


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

Generated on Sat Oct 18 2025 08:07:53 for gem5 by doxygen 1.14.0