aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/global_scheduler_context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: emulate six CPU coresTakoroka7 days1-1/+4
| | | | | | | Switch 2 applications are given cores 0..5 (title 4's npdm) and start a job worker per core. With four emulated cores, 4 and 5 were folded onto 0 and 1, so two cores ran two workers each. Switch 1 titles keep using cores 0..3; core 3 stays the shared system core.
* [video_core, hle] remove redundant parent references in system structs (#3908)lizzie2026-06-231-7/+8
| | | | | | | | | | reworked a bit to remove references of parent objects and instead pass as arguments to methods to prevent useless reloads Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3908 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev>
* [core/hle] use boost::container::small_vector<> instead of std::set<> of ↵lizzie2025-12-311-23/+31
| | | | | | | | | | | | | | | dummy threads (#3025) 2048 bytes of static storage (128 threads) is more than enough for most applications Highly hit or miss (most likely miss) - check with TOTK beforehand, should bring perf stuff to Android; in theory Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3025 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* kernel: convert GlobalSchedulerContext, KAddressArbiter, ↵Liam2023-03-121-17/+16
| | | | KScopedSchedulerLockAndSleep, KThreadQueue to new style
* kernel: refactor dummy thread wakeupsLiam2022-10-241-0/+22
|
* kernel: fix issues with single core modeLiam2022-07-141-5/+0
|
* kernel: use KScheduler from mesosphereLiam2022-07-141-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: hle: kernel: Implement thread pinning.bunnei2021-12-301-0/+6
| | | | | - We largely had the mechanics in place for thread pinning, this change hooks these up. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-2/+2
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* hle: kernel: Refactor out various KThread std::shared_ptr usage.bunnei2021-05-051-3/+3
|
* core: hle: kernel: Rename Thread to KThread.bunnei2021-01-281-2/+2
|
* hle: kernel: GlobalSchedulerContext: Various style fixes based on code ↵bunnei2020-12-061-1/+6
| | | | review feedback.
* hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.bunnei2020-12-061-8/+0
|
* hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei2020-12-061-0/+55