1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-13 08:46:39 +00:00
Ryujinx/Ryujinx.HLE/HOS
jduncanator c1b7340023 Timing: Optimize Timestamp Aquisition (#479)
* Timing: Optimize Timestamp Aquisition

Currently, we make use of Environment.TickCount in a number of places. This has some downsides, mainly being that the TickCount is a signed 32-bit integer, and has an effective limit of ~25 days before overflowing and wrapping around. Due to the signed-ness of the value, this also caused issues with negative numbers. This resolves these issues by using a 64-bit tick count obtained from Performance Counters (via the Stopwatch class). This has a beneficial side effect of being significantly more accurate than the TickCount.

* Timing: Rename ElapsedTicks to ElapsedMilliseconds and expose TicksPerX

* Timing: Some style changes

* Timing: Align static variable initialization
2018-10-28 19:31:13 -03:00
..
Diagnostics/Demangler Remove unnecessary usings (#463) 2018-10-17 14:55:10 -03:00
Font Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
Ipc Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
Kernel Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
Services Implement basic psm service (#467) 2018-10-21 03:01:22 -03:00
SystemState Save Common implementation (#434) 2018-10-07 15:13:46 +02:00
ErrorCode.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
ErrorModule.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
GlobalStateTable.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
Homebrew.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
Horizon.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
IdDictionary.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
Process.cs Print stack trace on invalid memory accesses (#461) 2018-10-20 22:07:52 +00:00
ServiceCtx.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00