summaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 00:09:12 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 00:09:12 -0400
commit11182ea41cc5f453b06d769dea6e157aa9c3cf86 (patch)
treea37a0e14ec5cef442d979852876dd307c6d4bf22 /src/storage
parent183ddf3d0d4c9eb6fa6470f45dbb4041c48eebab (diff)
cli display clock cycle, parse ';' delimited commands
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/cache.cc1
-rw-r--r--src/storage/dram.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc
index 6dd0b8a..d382c3d 100644
--- a/src/storage/cache.cc
+++ b/src/storage/cache.cc
@@ -100,7 +100,6 @@ std::ostream &operator<<(std::ostream &os, const Cache &c)
c.view(0, L1_CACHE_SIZE);
std::array<std::array<int, 2>, L1_CACHE_SIZE> meta = c.get_meta();
- cout << data.capacity();
os << " " << std::setfill(' ') << std::setw(L1_CACHE_SPEC + 2) << "INDEX"
<< " | " << std::setfill(' ') << std::setw((8 + 3) * 4 - 1) << "DATA"
<< " | " << std::setfill(' ')
diff --git a/src/storage/dram.cc b/src/storage/dram.cc
index 5c6d719..7353bce 100644
--- a/src/storage/dram.cc
+++ b/src/storage/dram.cc
@@ -83,7 +83,6 @@ std::ostream &operator<<(std::ostream &os, const Dram &d)
std::vector<std::array<signed int, LINE_SIZE>> data =
d.view(0, MEM_SIZE);
- cout << data.capacity();
os << " " << std::setfill(' ') << std::setw(MEM_SPEC + 2) << "INDEX"
<< " | " << std::setfill(' ') << std::setw((8 + 3) * 4 - 1) << "DATA" << '\n';
for (int i = 0; i < MEM_SIZE; ++i) {