36 template<
class Allocator,
bool softAes>
41 void*
operator new(
size_t size) {
44 throw std::bad_alloc();
47 void operator delete(
void* ptr) {
Definition vm_interpreted_light.hpp:37
void setCache(randomx_cache *cache) override
Definition vm_interpreted_light.cpp:35
void datasetRead(uint64_t address, int_reg_t(&r)[8]) override
Definition vm_interpreted_light.cpp:41
void datasetPrefetch(uint64_t address) override
Definition vm_interpreted_light.hpp:54
void setDataset(randomx_dataset *dataset) override
Definition vm_interpreted_light.hpp:50
Definition vm_interpreted.hpp:42
Definition virtual_machine.hpp:80
randomx_cache * cachePtr
Definition virtual_machine.hpp:68
randomx::MemoryRegisters mem
Definition virtual_machine.hpp:65
Concept for allocating, resizing and freeing memory block.
uint32_t address
Definition getifaddr.c:269
Definition allocator.cpp:35
uint64_t int_reg_t
Definition common.hpp:140
InterpretedLightVm< LargePageAllocator, false > InterpretedLightVmLargePageHardAes
Definition vm_interpreted_light.hpp:60
InterpretedLightVm< AlignedAllocator< CacheLineSize >, false > InterpretedLightVmHardAes
Definition vm_interpreted_light.hpp:58
InterpretedLightVm< LargePageAllocator, true > InterpretedLightVmLargePage
Definition vm_interpreted_light.hpp:59
InterpretedLightVm< AlignedAllocator< CacheLineSize >, true > InterpretedLightVmDefault
Definition vm_interpreted_light.hpp:57
unsigned __int64 uint64_t
Definition stdint.h:136
static void * allocMemory(size_t)
Definition allocator.cpp:38
static void freeMemory(void *, size_t)
Definition allocator.cpp:46
Definition dataset.hpp:46
Definition dataset.hpp:40
randomx_cache * cache
Definition tests.cpp:19