Remove test logs

This commit is contained in:
riperiperi 2024-06-24 21:19:11 +01:00
parent a37f65e87d
commit 63cbd819f8

View file

@ -1,6 +1,5 @@
using ARMeilleure.Memory; using ARMeilleure.Memory;
using Ryujinx.Common; using Ryujinx.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Cpu.Signal; using Ryujinx.Cpu.Signal;
using Ryujinx.Memory; using Ryujinx.Memory;
using System; using System;
@ -54,8 +53,6 @@ namespace ARMeilleure.Common
_trackingEvent = (ulong address, ulong size, bool write) => _trackingEvent = (ulong address, ulong size, bool write) =>
{ {
Logger.Error?.PrintMsg(LogClass.Cpu, $"Triggered from exception");
ulong pointer = (ulong)block.Block.Pointer + address; ulong pointer = (ulong)block.Block.Pointer + address;
ensureMapped((IntPtr)pointer); ensureMapped((IntPtr)pointer);
@ -355,9 +352,6 @@ namespace ARMeilleure.Common
return _table; return _table;
} }
private int initedSize = 0;
private int reservedSize = 0;
/// <summary> /// <summary>
/// Initialize a leaf page with the fill value. /// Initialize a leaf page with the fill value.
/// </summary> /// </summary>
@ -365,10 +359,6 @@ namespace ARMeilleure.Common
private void InitLeafPage(Span<byte> page) private void InitLeafPage(Span<byte> page)
{ {
MemoryMarshal.Cast<byte, TEntry>(page).Fill(_fill); MemoryMarshal.Cast<byte, TEntry>(page).Fill(_fill);
initedSize += page.Length;
Ryujinx.Common.Logging.Logger.Info?.PrintMsg(LogClass.Cpu, $"Using memory {initedSize}/{reservedSize} bytes");
} }
/// <summary> /// <summary>
@ -397,8 +387,6 @@ namespace ARMeilleure.Common
{ {
var size = sizeof(T) * length; var size = sizeof(T) * length;
reservedSize += size;
AddressTablePage page; AddressTablePage page;
if (Sparse && leaf) if (Sparse && leaf)