diff options
author | Sebastian Valle <subv2112@gmail.com> | 2018-12-31 02:32:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-31 02:32:41 +0100 |
commit | e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205 (patch) | |
tree | d12208284c7f3bff0d24ba5750019307eddccefe /src/core/hle/kernel/process.h | |
parent | Merge pull request #1847 from ogniK5377/backtrace-break (diff) | |
parent | kernel/process: Start the main thread using the specified ideal core (diff) | |
download | yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.gz yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.bz2 yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.lz yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.xz yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.zst yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.zip |
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r-- | src/core/hle/kernel/process.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index ac6956266..450dc6eeb 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -168,9 +168,9 @@ public: /// Gets the resource limit descriptor for this process SharedPtr<ResourceLimit> GetResourceLimit() const; - /// Gets the default CPU ID for this process - u8 GetDefaultProcessorID() const { - return ideal_processor; + /// Gets the ideal CPU core ID for this process + u8 GetIdealCore() const { + return ideal_core; } /// Gets the bitmask of allowed CPUs that this process' threads can run on. @@ -280,8 +280,8 @@ private: /// Resource limit descriptor for this process SharedPtr<ResourceLimit> resource_limit; - /// The default CPU for this process, threads are scheduled on this cpu by default. - u8 ideal_processor = 0; + /// The ideal CPU core for this process, threads are scheduled on this core by default. + u8 ideal_core = 0; u32 is_virtual_address_memory_enabled = 0; /// The Thread Local Storage area is allocated as processes create threads, |