summaryrefslogtreecommitdiffstats
path: root/src/core/cpu_manager.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: cpu_manager: Fix shutdown crash when closing before emulation starts.bunnei2020-11-251-7/+17
|
* core: cpu_manager: Add missing call to MicroProfileOnThreadExit().bunnei2020-10-271-0/+2
| | | | - Fixes an occasional crash when trying to launch subsequent games.
* Merge pull request #4461 from comex/thread-namesLC2020-08-311-1/+1
|\ | | | | Fix thread naming on Linux, which limits names to 15 bytes.
| * Fix thread naming on Linux, which limits names to 15 bytes.comex2020-08-061-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 applicableLioncash2020-08-231-16/+13
|/ | | | We can simplify a few loops by making use of ranged for.
* cpu_manager: Remove redundant std::function declarationsLioncash2020-07-281-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 Sahmkow2020-06-271-0/+1
|
* General: Correct rebase, sync gpu and context management.Fernando Sahmkow2020-06-271-9/+2
|
* SingleCore: Correct ticks reset to be on preemption.Fernando Sahmkow2020-06-271-1/+1
|
* Bootmanager/CPU_Manager: Correct shader caches and sync GPU on OpenGL.Fernando Sahmkow2020-06-271-6/+9
|
* SingleCore: Improve Cycle timing Behavior and replace mutex in global scheduler for spinlock.Fernando Sahmkow2020-06-271-0/+1
|
* SingleCore: Use Cycle Timing instead of Host Timing.Fernando Sahmkow2020-06-271-9/+9
|
* General: Move ARM_Interface into Threads.Fernando Sahmkow2020-06-271-16/+14
|
* SingleCore: Move Host Timing from a sepparate thread to main cpu thread.Fernando Sahmkow2020-06-271-2/+15
|
* GUI: Make multicore only work with Async and add GUI for multicore.Fernando Sahmkow2020-06-271-0/+11
|
* CPU_Manager: Correct stopping on SingleCore.Fernando Sahmkow2020-06-271-3/+8
|
* General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.Fernando Sahmkow2020-06-271-0/+4
|
* CPU_Manager: Unload/Reload threads on preemption on SingleCoreFernando Sahmkow2020-06-271-5/+9
|
* General: Initial Setup for Single Core.Fernando Sahmkow2020-06-271-26/+160
|
* General: Add better safety for JIT use.Fernando Sahmkow2020-06-271-6/+19
|
* SVC: Correct races on physical core switching.Fernando Sahmkow2020-06-271-5/+6
|
* CPU_Manager: Reconfigre guest threads for dynamrmic downsidesFernando Sahmkow2020-06-271-1/+2
|
* SVC: Correct SendSyncRequest.Fernando Sahmkow2020-06-271-2/+1
|
* General: Setup yuzu threads' microprofile, naming and registry.Fernando Sahmkow2020-06-271-1/+4
|
* CPU_Manager: remove debugging code.Fernando Sahmkow2020-06-271-8/+4
|
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-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 includesLioncash2020-01-311-2/+0
| | | | | Nothing from these headers are used within this source file, so we can remove them.
* System: Address FeedbackFernando Sahmkow2020-01-271-1/+0
|
* Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Fernando Sahmkow2020-01-261-0/+84
This commit instends on better naming the new purpose of this classes.