Monero
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
randomx::Program Class Reference

#include <program.hpp>

Collaboration diagram for randomx::Program:
Collaboration graph
[legend]

Public Member Functions

Instructionoperator() (int pc)
 
uint64_t getEntropy (int i)
 
uint32_t getSize ()
 

Private Member Functions

void print (std::ostream &os) const
 

Private Attributes

uint64_t entropyBuffer [16]
 
Instruction programBuffer [RANDOMX_PROGRAM_SIZE]
 

Friends

std::ostream & operator<< (std::ostream &os, const Program &p)
 

Member Function Documentation

◆ getEntropy()

uint64_t randomx::Program::getEntropy ( int  i)
inline

◆ getSize()

uint32_t randomx::Program::getSize ( )
inline

◆ operator()()

Instruction& randomx::Program::operator() ( int  pc)
inline

◆ print()

void randomx::Program::print ( std::ostream &  os) const
inlineprivate

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Program p 
)
friend

Member Data Documentation

◆ entropyBuffer

uint64_t randomx::Program::entropyBuffer[16]
private

◆ programBuffer

Instruction randomx::Program::programBuffer[RANDOMX_PROGRAM_SIZE]
private

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