diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-20 14:17:32 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-20 14:17:32 +0100 |
commit | adb9f147e358f687b37f5bf14c68f559c7c86a79 (patch) | |
tree | f6e62a99e0f005401871c138103acdfe008ce1a1 /qtmips_machine/machineconfig.h | |
parent | b01f4f6c24ed6ff80f822d6ed546c188655bda27 (diff) | |
download | qtmips-adb9f147e358f687b37f5bf14c68f559c7c86a79.tar.gz qtmips-adb9f147e358f687b37f5bf14c68f559c7c86a79.tar.bz2 qtmips-adb9f147e358f687b37f5bf14c68f559c7c86a79.zip |
Distinguish between write-through cache with allocate and update only if hit.
Add into cache statistic number of backing/main memory accesses.
Correction of meaning and computation of the cache statistic.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machineconfig.h')
-rw-r--r-- | qtmips_machine/machineconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/machineconfig.h b/qtmips_machine/machineconfig.h index 1858a25..14676ff 100644 --- a/qtmips_machine/machineconfig.h +++ b/qtmips_machine/machineconfig.h @@ -65,7 +65,8 @@ public: }; enum WritePolicy { - WP_TROUGH, // Write trough + WP_TROUGH_NOALLOC, // Write trough + WP_TROUGH_ALLOC, // Write trough WP_BACK // Write back }; |