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:
@ -17,8 +17,9 @@ namespace Ryujinx.Core
|
||||
internal Horizon Os { get; private set; }
|
||||
internal VirtualFs VFs { get; private set; }
|
||||
|
||||
public Hid Hid { get; private set; }
|
||||
public SetSys Settings { get; private set; }
|
||||
public Hid Hid { get; private set; }
|
||||
public SetSys Settings { get; private set; }
|
||||
public PerformanceStatistics Statistics { get; private set; }
|
||||
|
||||
public event EventHandler Finish;
|
||||
|
||||
@ -32,6 +33,8 @@ namespace Ryujinx.Core
|
||||
|
||||
Hid = new Hid(Ram);
|
||||
|
||||
Statistics = new PerformanceStatistics();
|
||||
|
||||
Os = new Horizon(this);
|
||||
|
||||
Os.HidSharedMem.MemoryMapped += Hid.ShMemMap;
|
||||
|
Reference in New Issue
Block a user