gem5  v22.1.0.0
Classes | Public Member Functions | Private Attributes | List of all members
ExtensionPool< T > Class Template Reference

#include <extensionPool.h>

Classes

struct  entry
 

Public Member Functions

 ExtensionPool (int size)
 
 ~ExtensionPool ()
 
bool is_from (T *cont)
 
T * construct ()
 
void free (T *cont)
 

Private Attributes

entryunused
 
entryused
 
std::vector< T * > mine
 

Detailed Description

template<class T>
class ExtensionPool< T >

Definition at line 24 of file extensionPool.h.

Constructor & Destructor Documentation

◆ ExtensionPool()

template<class T >
ExtensionPool< T >::ExtensionPool ( int  size)
inline

◆ ~ExtensionPool()

template<class T >
ExtensionPool< T >::~ExtensionPool ( )
inline

Member Function Documentation

◆ construct()

template<class T >
T* ExtensionPool< T >::construct ( )
inline

◆ free()

template<class T >
void ExtensionPool< T >::free ( T *  cont)
inline

◆ is_from()

template<class T >
bool ExtensionPool< T >::is_from ( T *  cont)
inline

Definition at line 68 of file extensionPool.h.

References gem5::ArmISA::i, and ExtensionPool< T >::mine.

Member Data Documentation

◆ mine

template<class T >
std::vector<T*> ExtensionPool< T >::mine
private

◆ unused

template<class T >
entry* ExtensionPool< T >::unused
private

◆ used

template<class T >
entry* ExtensionPool< T >::used
private

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

Generated on Wed Dec 21 2022 10:23:06 for gem5 by doxygen 1.9.1