Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4461 from comex/thread-names | LC | 2020-08-31 | 1 | -1/+1 |
|\ | | | | | Fix thread naming on Linux, which limits names to 15 bytes. | ||||
| * | Fix thread naming on Linux, which limits names to 15 bytes. | comex | 2020-08-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and do nothing. - Also, add logging in case `pthread_set_name_np` returns an error anyway. This is Linux-specific, as the Apple and BSD versions of `pthread_set_name_np return `void`. - Change the name for CPU threads in multi-core mode from "yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it fits into the Linux limit. Some other thread names are also cut off, but I didn't bother addressing them as you can guess them from the truncated versions. For a CPU thread, truncation means you can't see which core it is! | ||||
* | | cpu_manager: Make use of ranged for where applicable | Lioncash | 2020-08-23 | 1 | -16/+13 |
|/ | | | | We can simplify a few loops by making use of ranged for. | ||||
* | cpu_manager: Remove redundant std::function declarations | Lioncash | 2020-07-28 | 1 | -3/+3 |
| | | | | We can just return the function directly. Making for less reading. | ||||
* | General: Tune the priority of main emulation threads so they have higher priority than less important helper threads. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+1 |
| | |||||
* | General: Correct rebase, sync gpu and context management. | Fernando Sahmkow | 2020-06-27 | 1 | -9/+2 |
| | |||||
* | SingleCore: Correct ticks reset to be on preemption. | Fernando Sahmkow | 2020-06-27 | 1 | -1/+1 |
| | |||||
* | Bootmanager/CPU_Manager: Correct shader caches and sync GPU on OpenGL. | Fernando Sahmkow | 2020-06-27 | 1 | -6/+9 |
| | |||||
* | SingleCore: Improve Cycle timing Behavior and replace mutex in global scheduler for spinlock. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+1 |
| | |||||
* | SingleCore: Use Cycle Timing instead of Host Timing. | Fernando Sahmkow | 2020-06-27 | 1 | -9/+9 |
| | |||||
* | General: Move ARM_Interface into Threads. | Fernando Sahmkow | 2020-06-27 | 1 | -16/+14 |
| | |||||
* | SingleCore: Move Host Timing from a sepparate thread to main cpu thread. | Fernando Sahmkow | 2020-06-27 | 1 | -2/+15 |
| | |||||
* | GUI: Make multicore only work with Async and add GUI for multicore. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+11 |
| | |||||
* | CPU_Manager: Correct stopping on SingleCore. | Fernando Sahmkow | 2020-06-27 | 1 | -3/+8 |
| | |||||
* | General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+4 |
| | |||||
* | CPU_Manager: Unload/Reload threads on preemption on SingleCore | Fernando Sahmkow | 2020-06-27 | 1 | -5/+9 |
| | |||||
* | General: Initial Setup for Single Core. | Fernando Sahmkow | 2020-06-27 | 1 | -26/+160 |
| | |||||
* | General: Add better safety for JIT use. | Fernando Sahmkow | 2020-06-27 | 1 | -6/+19 |
| | |||||
* | SVC: Correct races on physical core switching. | Fernando Sahmkow | 2020-06-27 | 1 | -5/+6 |
| | |||||
* | CPU_Manager: Reconfigre guest threads for dynamrmic downsides | Fernando Sahmkow | 2020-06-27 | 1 | -1/+2 |
| | |||||
* | SVC: Correct SendSyncRequest. | Fernando Sahmkow | 2020-06-27 | 1 | -2/+1 |
| | |||||
* | General: Setup yuzu threads' microprofile, naming and registry. | Fernando Sahmkow | 2020-06-27 | 1 | -1/+4 |
| | |||||
* | CPU_Manager: remove debugging code. | Fernando Sahmkow | 2020-06-27 | 1 | -8/+4 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -41/+153 |
| | | | | | | | This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system. | ||||
* | core/cpu_manager: Remove unused includes | Lioncash | 2020-01-31 | 1 | -2/+0 |
| | | | | | Nothing from these headers are used within this source file, so we can remove them. | ||||
* | System: Address Feedback | Fernando Sahmkow | 2020-01-27 | 1 | -1/+0 |
| | |||||
* | Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager. | Fernando Sahmkow | 2020-01-26 | 1 | -0/+84 |
This commit instends on better naming the new purpose of this classes. |