Monero
Loading...
Searching...
No Matches
randomx::CompiledLightVm< Allocator, softAes, secureJit > Class Template Reference

#include <vm_compiled_light.hpp>

Inheritance diagram for randomx::CompiledLightVm< Allocator, softAes, secureJit >:
Collaboration diagram for randomx::CompiledLightVm< Allocator, softAes, secureJit >:

Public Member Functions

void * operator new (size_t size)
void operator delete (void *ptr)
void setCache (randomx_cache *cache) override
void setDataset (randomx_dataset *dataset) override
void run (void *seed) override
Public Member Functions inherited from randomx::CompiledVm< Allocator, softAes, secureJit >
void * operator new (size_t size)
void operator delete (void *ptr)
 CompiledVm ()
void setDataset (randomx_dataset *dataset) override
void run (void *seed) override
Public Member Functions inherited from randomx::VmBase< Allocator, softAes >
 ~VmBase () override
void allocate () override
void initScratchpad (void *seed) override
void getFinalResult (void *out, size_t outSize) override
void hashAndFill (void *out, size_t outSize, uint64_t *fill_state) override
Public Member Functions inherited from randomx_vm
virtual ~randomx_vm ()=0
void resetRoundingMode ()
randomx::RegisterFilegetRegisterFile ()
const void * getScratchpad ()
const randomx::ProgramgetProgram ()
const uint8_tgetMemory () const

Additional Inherited Members

Public Attributes inherited from randomx_vm
std::string cacheKey
uint64_t tempHash [8]
Protected Member Functions inherited from randomx::CompiledVm< Allocator, softAes, secureJit >
void execute ()
Protected Member Functions inherited from randomx::VmBase< Allocator, softAes >
void generateProgram (void *seed)
Protected Member Functions inherited from randomx_vm
void initialize ()
Protected Attributes inherited from randomx::CompiledVm< Allocator, softAes, secureJit >
JitCompiler compiler
Protected Attributes inherited from randomx_vm
randomx::Program program
randomx::RegisterFile reg
randomx::ProgramConfiguration config
randomx::MemoryRegisters mem
uint8_tscratchpad = nullptr
union { 
   randomx_cache *   cachePtr = nullptr 
   randomx_dataset *   datasetPtr 
}; 
uint64_t datasetOffset

Member Function Documentation

◆ operator delete()

template<class Allocator, bool softAes, bool secureJit>
void randomx::CompiledLightVm< Allocator, softAes, secureJit >::operator delete ( void * ptr)
inline

◆ operator new()

template<class Allocator, bool softAes, bool secureJit>
void * randomx::CompiledLightVm< Allocator, softAes, secureJit >::operator new ( size_t size)
inline

◆ run()

template<class Allocator, bool softAes, bool secureJit>
void randomx::CompiledLightVm< Allocator, softAes, secureJit >::run ( void * seed)
overridevirtual

Implements randomx_vm.

◆ setCache()

template<class Allocator, bool softAes, bool secureJit>
void randomx::CompiledLightVm< Allocator, softAes, secureJit >::setCache ( randomx_cache * cache)
overridevirtual

Reimplemented from randomx_vm.

◆ setDataset()

template<class Allocator, bool softAes, bool secureJit>
void randomx::CompiledLightVm< Allocator, softAes, secureJit >::setDataset ( randomx_dataset * dataset)
inlineoverridevirtual

Reimplemented from randomx_vm.


The documentation for this class was generated from the following files: