diff options
| author | emmauss <emmausssss@gmail.com> | 2018-03-06 22:18:49 +0200 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-06 17:18:49 -0300 |
| commit | 4038e63de14bf12c0cfbe885e2cac44577fe8a6a (patch) | |
| tree | 535c2ac5cab4376f59c88603e4fc6ff1ee4f2470 /Ryujinx.Core/OsHle | |
| parent | 39ed14a3d6304eeec8ce1fa34819b39c3ae28956 (diff) | |
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
Diffstat (limited to 'Ryujinx.Core/OsHle')
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
