TracerV binary mode - Print cycle + insts only (no padding)

This commit is contained in:
abejgonzalez 2023-08-28 23:52:23 -07:00
parent 811c461bb9
commit c10bbf6345
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ void tracerv_t::serialize(
// this stores as raw binary. stored as little endian. // this stores as raw binary. stored as little endian.
// e.g. to get the same thing as the human readable above, // e.g. to get the same thing as the human readable above,
// flip all the bytes in each 512-bit line. // flip all the bytes in each 512-bit line.
for (int q = 0; q < 8; q++) { for (int q = 0; q < 1 + max_consider; q++) {
fwrite(OUTBUF + (i + q), sizeof(uint64_t), 1, tracefile); fwrite(OUTBUF + (i + q), sizeof(uint64_t), 1, tracefile);
} }
} }