|
ergo
|
#include <AllocatorManager.h>
Public Member Functions | |
| void | init (size_t noOfRealsPerBuffer_, size_t noOfBuffers_) |
| Treal * | alloc (size_t n) |
| void | free (Treal *ptr) |
| std::string | getStatistics () |
| AllocatorManager< float > & | instance () |
| AllocatorManager< double > & | instance () |
| AllocatorManager< long double > & | instance () |
Static Public Member Functions | |
| static AllocatorManager & | instance () |
Private Member Functions | |
| AllocatorManager () | |
| ~AllocatorManager () | |
Private Attributes | |
| std::list< Allocator< Treal > * > | list |
| size_t | noOfRealsPerBuffer |
| size_t | noOfBuffers |
| pthread_mutex_t | mutex |
| size_t | peakListSize |
|
inlineprivate |
References mutex, noOfBuffers, noOfRealsPerBuffer, and peakListSize.
Referenced by instance().
|
inlineprivate |
References list.
|
inline |
References mat::Allocator< Treal >::alloc(), list, mutex, noOfBuffers, noOfRealsPerBuffer, and peakListSize.
Referenced by mat::allocateElements< double >(), and mat::allocateElements< float >().
|
inline |
Referenced by mat::freeElements(), and mat::freeElements().
|
inline |
References list, noOfBuffers, noOfRealsPerBuffer, and peakListSize.
Referenced by SCF_general::do_SCF_iterations(), GetDensFromFock::get_dens_from_fock(), and GetDensFromFock::get_dens_from_fock_sparse().
|
inline |
References noOfBuffers, and noOfRealsPerBuffer.
Referenced by SCF::MatOptions::prepare().
| AllocatorManager< float > & mat::AllocatorManager< float >::instance | ( | ) |
References AllocatorManager().
| AllocatorManager< double > & mat::AllocatorManager< double >::instance | ( | ) |
References AllocatorManager().
| AllocatorManager< long double > & mat::AllocatorManager< longdouble >::instance | ( | ) |
References AllocatorManager().
|
static |
References AllocatorManager().
Referenced by mat::allocateElements< double >(), mat::allocateElements< float >(), SCF_general::do_SCF_iterations(), mat::freeElements(), mat::freeElements(), GetDensFromFock::get_dens_from_fock(), GetDensFromFock::get_dens_from_fock_sparse(), and SCF::MatOptions::prepare().
|
private |
Referenced by alloc(), free(), getStatistics(), and ~AllocatorManager().
|
private |
Referenced by alloc(), AllocatorManager(), and free().
|
private |
Referenced by alloc(), AllocatorManager(), getStatistics(), and init().
|
private |
Referenced by alloc(), AllocatorManager(), getStatistics(), and init().
|
private |
Referenced by alloc(), AllocatorManager(), and getStatistics().