Thrill  0.1
allocator_base.hpp File Reference
#include <thrill/common/string.hpp>
#include <thrill/mem/malloc_tracker.hpp>
#include <thrill/mem/manager.hpp>
#include <tlx/allocator_base.hpp>
#include <tlx/string/ssprintf_generic.hpp>
#include <atomic>
#include <cassert>
#include <deque>
#include <iosfwd>
#include <new>
#include <string>
#include <type_traits>
#include <vector>
+ Include dependency graph for allocator_base.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FixedAllocator< Type, manager_ >
 
struct  FixedAllocator< Type, manager_ >::rebind< U >
 Return allocator for different type. More...
 
class  FixedAllocator< void, manager_ >
 
struct  FixedAllocator< void, manager_ >::rebind< U >
 

Namespaces

 thrill
 
 thrill::mem
 

Macros

#define THRILL_MEM_ALLOCATOR_BASE_HEADER
 

Typedefs

template<typename T >
using by_deque = std::deque< T, BypassAllocator< T > >
 deque without malloc tracking More...
 
using by_string = std::basic_string< char, std::char_traits< char >, BypassAllocator< char > >
 string without malloc tracking More...
 
using by_stringbuf = std::basic_stringbuf< char, std::char_traits< char >, BypassAllocator< char > >
 stringbuf without malloc tracking More...
 
template<typename T >
using by_vector = std::vector< T, BypassAllocator< T > >
 vector without malloc tracking More...
 
template<typename Type >
using BypassAllocator = FixedAllocator< Type, g_bypass_manager >
 instantiate FixedAllocator as BypassAllocator More...
 

Functions

template<typename T >
void by_delete (T *value)
 operator delete with our Allocator More...
 
template<typename T , typename... Args>
Tby_new (Args &&... args)
 operator new with our Allocator More...
 
static by_string to_string (int val)
 convert to string More...
 
static by_string to_string (unsigned val)
 convert to string More...
 
static by_string to_string (long val)
 convert to string More...
 
static by_string to_string (unsigned long val)
 convert to string More...
 
static by_string to_string (long long val)
 convert to string More...
 
static by_string to_string (unsigned long long val)
 convert to string More...
 

Variables

Manager g_bypass_manager
 global bypass memory manager More...
 

Macro Definition Documentation

◆ THRILL_MEM_ALLOCATOR_BASE_HEADER

#define THRILL_MEM_ALLOCATOR_BASE_HEADER

Definition at line 13 of file allocator_base.hpp.