18 using T =
unsigned long;
90 std::string out =
"< ";
113 template<
typename HYP>
115 return h.callOne_vms(di.input).runtime_counter;
118 template<
typename HYP>
void increment(RuntimeCounter &rc)
Add the results of another runtime counter.
Definition: RuntimeCounter.h:49
std::string string() const
Display a runtime counter – NOTE This may not display all zeros if instructions have not been run...
Definition: RuntimeCounter.h:89
RuntimeCounter()
Definition: RuntimeCounter.h:27
T total
Definition: RuntimeCounter.h:24
size_t count(const std::string &str, const std::string &sub)
Definition: Strings.h:153
RuntimeCounter runtime(HYP &h, typename HYP::datum_t &di)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
Definition: RuntimeCounter.h:114
std::vector< T > primitive_count
Definition: RuntimeCounter.h:22
void increment(Instruction &i, T count=1)
Add count number of items to this instruction's count.
Definition: RuntimeCounter.h:33
Definition: Instruction.h:20
std::vector< T > builtin_count
Definition: RuntimeCounter.h:21
f here is a point to a void(VirtualMachineState_t* vms, int arg), where arg is just a supplemental ar...
std::string str(BindingTree *t)
Definition: BindingTree.h:195
unsigned long T
Definition: RuntimeCounter.h:18
Definition: RuntimeCounter.h:16