From 4fad90ed4d5ddc62a659ac4c501a86e2d85c56bf Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Wed, 5 Jan 2022 18:32:29 -0500 Subject: [PATCH] Multiply ram cost by threads --- src/Terminal/commands/mem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal/commands/mem.ts b/src/Terminal/commands/mem.ts index 4eabbe567..0a12230a9 100644 --- a/src/Terminal/commands/mem.ts +++ b/src/Terminal/commands/mem.ts @@ -41,7 +41,7 @@ export function mem( const verboseEntries = script.ramUsageEntries?.sort((a, b) => b.cost - a.cost) ?? []; for (const entry of verboseEntries) { - terminal.print(`${numeralWrapper.formatRAM(entry.cost).padStart(8)} | ${entry.name} (${entry.type})`); + terminal.print(`${numeralWrapper.formatRAM(entry.cost * numThreads).padStart(8)} | ${entry.name} (${entry.type})`); } } catch (e) { terminal.error(e + "");