mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 22:27:33 -05:00
Implemented Dataset size increase per epoch
This commit is contained in:
@@ -42,20 +42,17 @@ namespace RandomX {
|
||||
_mm_free(ptr);
|
||||
}
|
||||
CompiledVirtualMachine();
|
||||
void setDataset(dataset_t ds) override;
|
||||
void setDataset(dataset_t ds, uint64_t size) override;
|
||||
void initialize() override;
|
||||
virtual void execute() override;
|
||||
void* getProgram() {
|
||||
return compiler.getCode();
|
||||
}
|
||||
uint64_t getTotalSize() {
|
||||
return totalSize;
|
||||
}
|
||||
private:
|
||||
#ifdef TRACEVM
|
||||
convertible_t tracepad[InstructionCount];
|
||||
#endif
|
||||
JitCompilerX86 compiler;
|
||||
uint64_t totalSize;
|
||||
uint8_t* datasetBasePtr;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user