gem5 v24.0.0.0
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.

◆ ~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.

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

◆ reset()

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

Definition at line 198 of file sc_temporary.hh.

◆ size()

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

Definition at line 204 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 161 of file sc_temporary.hh.

◆ 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.

◆ 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.


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

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