proxygen
|
#include <CacheLocality.h>
Public Member Functions | |
void * | allocate (size_t size) |
void | deallocate (void *mem, size_t=0) |
Private Member Functions | |
uint8_t | sizeClass (size_t size) |
Private Attributes | |
std::array< SimpleAllocator, 4 > | allocators_ |
Static Private Attributes | |
static constexpr size_t | AllocSize {4096} |
Definition at line 458 of file CacheLocality.h.
|
inline |
Definition at line 479 of file CacheLocality.h.
References folly::aligned_malloc(), and folly::hardware_destructive_interference_size.
|
inline |
Definition at line 494 of file CacheLocality.h.
References addr, folly::aligned_free(), and folly::SimpleAllocator::deallocate().
|
inlineprivate |
Definition at line 461 of file CacheLocality.h.
|
private |
|
staticprivate |
Definition at line 459 of file CacheLocality.h.