diff options
author | bd <bdunahu@operationnull.com> | 2025-04-19 12:47:25 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-19 12:47:25 -0400 |
commit | c63ca29466eabd685935e99cfcac107455a40f93 (patch) | |
tree | 2b3d4d7dcef40a0772c5fe5736b80d0774701b1e /gui/worker.cc | |
parent | e4a2ceefd77a8d53ebb9fb225a0fa6d9ee8d5d91 (diff) |
Slightly more reasonable cache size generation
Diffstat (limited to 'gui/worker.cc')
-rw-r--r-- | gui/worker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/worker.cc b/gui/worker.cc index 88248e8..742e3f3 100644 --- a/gui/worker.cc +++ b/gui/worker.cc @@ -23,8 +23,8 @@ void Worker::configure( this->ct_mutex.lock(); if (ways.size() != 0) { - // will ensure the largest cache is only half of DRAM - this->size_inc = (MEM_LINE_SPEC / ways.size()) / 2; + // TODO optimal proper sizes + this->size_inc = ((MEM_LINE_SPEC * 0.75) / ways.size()); } d = new Dram(DRAM_DELAY); s = static_cast<Storage *>(d); |