diff options
Diffstat (limited to '')
| -rw-r--r-- | io/model.h | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -13,6 +13,10 @@ struct iomodel { | |||
| 13 | event_log log; | 13 | event_log log; |
| 14 | std::uint64_t time = 0; | 14 | std::uint64_t time = 0; |
| 15 | bool interact(std::array<std::uint_fast32_t, NUM_CTLREGS> &ctlregs); | 15 | bool interact(std::array<std::uint_fast32_t, NUM_CTLREGS> &ctlregs); |
| 16 | bool done() { | ||
| 17 | return log.lower_bound(time) == log.end(); | ||
| 18 | } | ||
| 16 | 19 | ||
| 20 | std::uint64_t load_time = 0; | ||
| 17 | void load_evt(std::istream &fh); | 21 | void load_evt(std::istream &fh); |
| 18 | }; | 22 | }; |
