#include <BlockWipedAllocator.h>
Public Types | |
typedef BlockWipedAllocator | Allocator |
typedef __gnu_cxx::hash_map < std::size_t, Allocator > | Pool |
Public Member Functions | |
Allocator & | allocator (std::size_t typeSize) |
BlockWipedPool (std::size_t blockSize, std::size_t maxRecycle) | |
void | clear () |
template<typename Visitor > | |
void | visit (Visitor &visitor) const |
void | wipe (bool force=true) |
~BlockWipedPool () | |
Private Attributes | |
std::size_t | m_blockSize |
Allocator * | m_last |
std::size_t | m_lastSize |
std::size_t | m_maxRecycle |
Pool | m_pool |
Definition at line 111 of file BlockWipedAllocator.h.
Definition at line 113 of file BlockWipedAllocator.h.
typedef __gnu_cxx::hash_map<std::size_t, Allocator> BlockWipedPool::Pool |
Definition at line 115 of file BlockWipedAllocator.h.
BlockWipedPool::BlockWipedPool | ( | std::size_t | blockSize, |
std::size_t | maxRecycle | ||
) |
Definition at line 95 of file BlockWipedAllocator.cc.
BlockWipedPool::~BlockWipedPool | ( | ) |
BlockWipedPool::Allocator & BlockWipedPool::allocator | ( | std::size_t | typeSize | ) |
Definition at line 102 of file BlockWipedAllocator.cc.
References likely, m_blockSize, m_last, m_lastSize, m_maxRecycle, m_pool, AlCaHLTBitMon_ParallelJobs::p, and edm::second().
Referenced by BlockWipedPoolAllocated::allocator(), BlockWipedAllocated< _bqueue_item< T > >::allocator(), and blockWipedAllocator().
void BlockWipedPool::clear | ( | void | ) |
Definition at line 116 of file BlockWipedAllocator.cc.
References BlockWipedAllocator::clear(), m_pool, and edm::second().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), Vispa.Views.PropertyView.PropertyView::updateContent(), BlockWipedAllocatorService::wiper(), and ~BlockWipedPool().
|
inline |
Definition at line 127 of file BlockWipedAllocator.h.
References m_pool, edm::second(), and cmsPerfHarvest::visit().
Referenced by SequenceTypes.Sequence::_visitSubNodes(), SequenceTypes._ModuleSequenceType::copyAndExclude(), BlockWipedAllocatorService::dump(), SequenceTypes._ModuleSequenceType::expandAndClone(), SequenceTypes._ModuleSequenceType::insertInto(), SequenceTypes._ModuleSequenceType::moduleNames(), SequenceTypes._ModuleSequenceType::remove(), and SequenceTypes._ModuleSequenceType::replace().
void BlockWipedPool::wipe | ( | bool | force = true | ) |
Definition at line 110 of file BlockWipedAllocator.cc.
References m_pool, edm::second(), and BlockWipedAllocator::wipe().
Referenced by BlockWipedAllocatorService::preModule(), and BlockWipedAllocatorService::wiper().
|
private |
Definition at line 135 of file BlockWipedAllocator.h.
Referenced by allocator().
|
private |
Definition at line 138 of file BlockWipedAllocator.h.
Referenced by allocator().
|
private |
Definition at line 139 of file BlockWipedAllocator.h.
Referenced by allocator().
|
private |
Definition at line 136 of file BlockWipedAllocator.h.
Referenced by allocator().
|
private |
Definition at line 137 of file BlockWipedAllocator.h.
Referenced by allocator(), clear(), visit(), and wipe().