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

#include <vm_compiled.hpp>

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

Public Member Functions

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
virtual void setCache (randomx_cache *cache)
void resetRoundingMode ()
randomx::RegisterFilegetRegisterFile ()
const void * getScratchpad ()
const randomx::ProgramgetProgram ()
const uint8_tgetMemory () const

Protected Member Functions

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

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

Additional Inherited Members

Public Attributes inherited from randomx_vm
std::string cacheKey
uint64_t tempHash [8]

Constructor & Destructor Documentation

◆ CompiledVm()

template<class Allocator, bool softAes, bool secureJit>
randomx::CompiledVm< Allocator, softAes, secureJit >::CompiledVm ( )

Member Function Documentation

◆ execute()

template<class Allocator, bool softAes, bool secureJit>
void randomx::CompiledVm< Allocator, softAes, secureJit >::execute ( )
protected

◆ operator delete()

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

◆ operator new()

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

◆ run()

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

Implements randomx_vm.

◆ setDataset()

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

Reimplemented from randomx_vm.

Member Data Documentation

◆ compiler

template<class Allocator, bool softAes, bool secureJit>
JitCompiler randomx::CompiledVm< Allocator, softAes, secureJit >::compiler
protected

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