nkanderson / ECE585-llc

Simulation of a last level cache (LLC) for ECE 585 final project
1 stars 0 forks source link

Implement "clear cache and reset all state" event handling #19

Closed nkanderson closed 16 hours ago

nkanderson commented 3 weeks ago

Depends on #17 and #18

In the main program loop section that handles the event with op code 8, we need to clear the cache and reset all state. If the cache class has a method for clearing, should be able to just call that. For resetting all state, we may need to confirm, but I think this would mean resetting all summary stats related to number of cache reads, writes, etc.

If resetting the summary stats is confirmed to be a part of this issue, this should probably include a data structure or class to manage those stats.

nkanderson commented 16 hours ago

Closed by #50