Getter for instructions per second.
| 51 | |
| 52 | /// Getter for instructions per second. |
| 53 | double getInstrPerSecond() const { |
| 54 | return static_cast<double>(InstrCnt) / |
| 55 | std::chrono::duration<double>(getWasmExecTime()).count(); |
| 56 | } |
| 57 | |
| 58 | /// Setter and getter for the cost table. |
| 59 | void setCostTable(Span<const uint64_t> NewTable) { |
no test coverage detected