Ryujinx/Ryujinx.HLE/HOS/Kernel
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
..
AddressSpaceType.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
ArbitrationType.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
HleCoreManager.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
HleScheduler.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
IKFutureSchedulerObject.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KAddressArbiter.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KCoreContext.cs Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
KernelErr.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KernelResult.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KEvent.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KHandleEntry.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KMemoryBlock.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KMemoryInfo.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KMemoryManager.cs Print stack trace on invalid memory accesses (#461) 2018-10-20 22:07:52 +00:00
KProcessHandleTable.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KReadableEvent.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KRecursiveLock.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KScheduler.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
KSchedulingData.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KSession.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KSharedMemory.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KSynchronization.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KSynchronizationObject.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KThread.cs Move prio/core locals inside the lock on yield (#478) 2018-10-24 09:45:37 -03:00
KTimeManager.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
KTlsPageManager.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KTransferMemory.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
KWritableEvent.cs Improve kernel events implementation (#430) 2018-09-23 20:11:46 +02:00
MemoryAttribute.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
MemoryPermission.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
MemoryState.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
SignalType.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00
SvcHandler.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
SvcMemory.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
SvcSystem.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
SvcThread.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
SvcThreadSync.cs Move logging to Ryujinx.Common and make it a static class (#413) 2018-10-17 14:15:50 -03:00
ThreadSchedState.cs Thread scheduler rewrite (#393) 2018-09-18 20:36:43 -03:00