From 62517a8004419591dd031faebb7a9a4827bc002a Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 1 Nov 2022 10:08:59 -0700 Subject: Support writing a trace at the end of execution. --- io/model.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io/model.h') 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 @@ #include #include #include +#include #include "io/event.h" #include "isa/isa.h" @@ -19,4 +20,6 @@ struct iomodel { std::uint64_t load_time = 0; void load_evt(std::istream &fh); + + std::ostream & write_evt(std::ostream &fh); }; -- cgit v1.2.3