#include <RuntimeCounter.h>
- Author
- Steven Piantadosi
- Date
- 04/09/20
◆ RuntimeCounter()
RuntimeCounter::RuntimeCounter |
( |
| ) |
|
|
inline |
◆ get()
Retrieve the rule count for a given instruction.
- Parameters
-
- Returns
◆ increment() [1/2]
void RuntimeCounter::increment |
( |
Instruction & |
i, |
|
|
T |
count = 1 |
|
) |
| |
|
inline |
Add count number of items to this instruction's count.
- Parameters
-
◆ increment() [2/2]
Add the results of another runtime counter.
- Parameters
-
◆ string()
std::string RuntimeCounter::string |
( |
| ) |
const |
|
inline |
Display a runtime counter – NOTE This may not display all zeros if instructions have not been run.
- Returns
◆ builtin_count
std::vector<T> RuntimeCounter::builtin_count |
◆ primitive_count
std::vector<T> RuntimeCounter::primitive_count |
◆ total
The documentation for this class was generated from the following file: