From 4038e63de14bf12c0cfbe885e2cac44577fe8a6a Mon Sep 17 00:00:00 2001 From: emmauss Date: Tue, 6 Mar 2018 22:18:49 +0200 Subject: Implement basic performance statistics (#53) * implement basic frame time stats * added game frame time * made performancestatictics class non-static * report average framerate instead of current framerate --- Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Core/OsHle') diff --git a/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs b/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs index 4b5f9819..720dd44f 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs @@ -154,6 +154,8 @@ namespace Ryujinx.Core.OsHle.IpcServices.Android private long GbpQueueBuffer(ServiceCtx Context, BinaryReader ParcelReader) { + Context.Ns.Statistics.RecordGameFrameTime(); + //TODO: Errors. int Slot = ParcelReader.ReadInt32(); int Unknown4 = ParcelReader.ReadInt32(); -- cgit v1.2.3