1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-27 04:02:03 +00:00
Ryujinx/Ryujinx.HLE
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
..
Exceptions Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
FileSystem Remove unnecessary usings (#463) 2018-10-17 14:55:10 -03:00
Hid Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
HOS Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
Loaders Implement IRoInterface (#445) 2018-10-10 01:01:49 +02:00
Memory Misc fixes on the arena allocator (#364) 2018-09-18 12:28:28 -03:00
Resource Implement Shared Fonts (#215) 2018-08-04 18:38:49 -03:00
Utilities Complete rewrite of bsd IClient (#460) 2018-10-20 22:08:58 +00:00
PerformanceStatistics.cs More flexible memory manager (#307) 2018-08-15 15:59:51 -03:00
Ryujinx.HLE.csproj Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
RyujinxProfileImage.jpg Implement friend:a IFriendService: 10101 (#429) 2018-09-25 19:59:29 -03:00
Switch.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00