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
This commit is contained in:
emmauss 2018-03-06 22:18:49 +02:00 committed by gdkchan
parent 39ed14a3d6
commit 4038e63de1
5 changed files with 100 additions and 5 deletions

View file

@ -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();