Merge pull request #1643 from firesim/tv-bin-compact

TracerV binary mode - Print cycle + insts only (no padding)
This commit is contained in:
Abraham Gonzalez 2023-08-29 15:18:18 -07:00 committed by GitHub
commit 16e962f591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ void tracerv_t::serialize(
// this stores as raw binary. stored as little endian.
// e.g. to get the same thing as the human readable above,
// 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);
}
}