Interface TraceWriter
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
AdaptSizeTraceWriter,BinaryTraceWriter,CloudPhysicsTraceWriter,LirsTraceWriter,TextTraceWriter
public interface TraceWriter extends Closeable
A writer to output to an access trace format.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidwriteEvent(int tick, AccessEvent event)Writes the event in the trace format.default voidwriteFooter()Writes the footer for the trace format.default voidwriteHeader()Writes the header for the trace format.
-
-
-
Method Detail
-
writeHeader
default void writeHeader() throws IOExceptionWrites the header for the trace format.- Throws:
IOException
-
writeEvent
void writeEvent(int tick, AccessEvent event) throws IOExceptionWrites the event in the trace format.- Throws:
IOException
-
writeFooter
default void writeFooter() throws IOExceptionWrites the footer for the trace format.- Throws:
IOException
-
-