Template Struct Nop

Struct Documentation

template<size_t NumRngTouches = 0, size_t Prevalence = 1>
struct sgpl::Nop

Performs no operation for one virtual CPU cycle.

Advances the RNG engine NumRngTouches times. (Important to nop-out operations that perform one RNG touch without causing side effects.)

Public Static Functions

template<typename Spec>
void run(sgpl::Core<Spec>&, const sgpl::Instruction<Spec>&, const sgpl::Program<Spec>&, typename Spec::peripheral_t&) noexcept
std::string name()
size_t prevalence()
template<typename Spec>
auto descriptors(const sgpl::Instruction<Spec> &inst)
template<typename Spec>
std::set<std::string> categories(const sgpl::Instruction<Spec>&)