#include "stdafx.h"
#include "memory.h"
Go to the source code of this file.
Functions | |
void * | AllocAligned (size_t size) |
void | FreeAligned (void *ptr) |
void* AllocAligned | ( | size_t | size | ) |
Definition at line 30 of file memory.cpp.
References PBRT_L1_CACHE_LINE_SIZE.
Referenced by AllocAligned(), RWMutex::Create(), and Mutex::Create().
void FreeAligned | ( | void * | ptr | ) |
Definition at line 52 of file memory.cpp.
Referenced by KdTreeAccel::buildTree(), RWMutex::Destroy(), Mutex::Destroy(), BlockedArray< RGBSpectrum >::~BlockedArray(), BVHAccel::~BVHAccel(), GridAccel::~GridAccel(), KdTree< RadiancePhoton >::~KdTree(), KdTreeAccel::~KdTreeAccel(), MemoryArena::~MemoryArena(), RandomSampler::~RandomSampler(), and Sample::~Sample().