summaryrefslogtreecommitdiff
path: root/io/model.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-11-01 10:08:59 -0700
committerJulian Blake Kongslie2022-11-01 10:08:59 -0700
commit62517a8004419591dd031faebb7a9a4827bc002a (patch)
tree14d9b6dae5474fd5d42b78da12b3974a2bcd0584 /io/model.h
parentImplemented the remaining instructions required for echo_optimal. (diff)
downloadbiggolf-62517a8004419591dd031faebb7a9a4827bc002a.tar.xz
Support writing a trace at the end of execution.
Diffstat (limited to '')
-rw-r--r--io/model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/io/model.h b/io/model.h
index 2826170..f8a852b 100644
--- a/io/model.h
+++ b/io/model.h
@@ -3,6 +3,7 @@
3#include <array> 3#include <array>
4#include <cstdint> 4#include <cstdint>
5#include <istream> 5#include <istream>
6#include <ostream>
6 7
7#include "io/event.h" 8#include "io/event.h"
8#include "isa/isa.h" 9#include "isa/isa.h"
@@ -19,4 +20,6 @@ struct iomodel {
19 20
20 std::uint64_t load_time = 0; 21 std::uint64_t load_time = 0;
21 void load_evt(std::istream &fh); 22 void load_evt(std::istream &fh);
23
24 std::ostream & write_evt(std::ostream &fh);
22}; 25};