From d536cc8ae6d6725780365d858f2fd64b66d90b7f Mon Sep 17 00:00:00 2001 From: Wunk Date: Wed, 16 Nov 2022 14:27:42 -0800 Subject: Update units of memory from decimal to binary prefixes (#3716) `MB` and `GB` can either be interpreted as having base-10 units, or base-2. `MiB` and `GiB` removes this discrepancy so that units of memory are always interpreted using base-2 units. --- ARMeilleure/Diagnostics/TranslatorEventSource.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ARMeilleure/Diagnostics/TranslatorEventSource.cs') diff --git a/ARMeilleure/Diagnostics/TranslatorEventSource.cs b/ARMeilleure/Diagnostics/TranslatorEventSource.cs index a0456e98..a4f17844 100644 --- a/ARMeilleure/Diagnostics/TranslatorEventSource.cs +++ b/ARMeilleure/Diagnostics/TranslatorEventSource.cs @@ -25,13 +25,13 @@ namespace ARMeilleure.Diagnostics _funcTabSizeCounter = new PollingCounter("addr-tab-alloc", this, () => _funcTabSize / 1024d / 1024d) { DisplayName = "AddressTable Total Bytes Allocated", - DisplayUnits = "MB" + DisplayUnits = "MiB" }; _funcTabLeafSizeCounter = new PollingCounter("addr-tab-leaf-alloc", this, () => _funcTabLeafSize / 1024d / 1024d) { DisplayName = "AddressTable Total Leaf Bytes Allocated", - DisplayUnits = "MB" + DisplayUnits = "MiB" }; } -- cgit v1.2.3