jhunterh / Cache-Hierarchy-Simulation-Tool

This tool is a highly configurable cache hierarchy simulator for use in computer architecture research and study.
0 stars 0 forks source link

write data entries as binary instead of text #20

Closed jhunterh closed 6 months ago

jhunterh commented 6 months ago

This PR improves performance drastically by writing the output file as raw binary instead of text. This also decreases the size of the output file by a fair amount.

jhunterh commented 6 months ago

Output file will now have the format: <# of entries - uint64_t (8 bytes> Each entry will be 24 bytes. Suggest using header file where DatafileEntry is defined when reading entries from the file.