summaryrefslogtreecommitdiff
path: root/io/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/model.h')
-rw-r--r--io/model.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io/model.h b/io/model.h
index 8758a43..2826170 100644
--- a/io/model.h
+++ b/io/model.h
@@ -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};