Lioncash
b77430df70
apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map
...
While a map is an OK way to do lookups (and usually recommended in most
cases), this is a map that lives for the entire duration of the program
and only deallocates its contents when the program terminates.
Given the total size of the map is quite small, we can simply use a
std::array of pairs and utilize std::find_if to perform the same
behavior without loss of performance.
This eliminates a static constructor and places the data into the
read-only segment.
While we're at it, we can also handle malformed inputs instead of
directly dereferencing the resulting iterator.
2019-10-17 16:13:14 -04:00
..
arm
Core_Timing: Address Feedback and suppress warnings.
2019-10-11 14:44:14 -04:00
crypto
[crypto] Use IsAllZeroArray helper function
2019-10-02 19:20:45 +03:00
file_sys
Merge pull request #2897 from DarkLordZach/oss-ext-fonts-1
2019-10-14 15:13:41 -04:00
frontend
general_frontend: Add documentation for parental controls and ecommerce applets
2019-06-24 20:05:11 -04:00
gdbstub
core: Remove Core::CurrentProcess()
2019-10-06 13:53:12 -04:00
hle
apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map
2019-10-17 16:13:14 -04:00
loader
core/loader: Track the NSO build ID of the current process
2019-09-30 17:21:53 -04:00
memory
dmnt_cheat_vm: Default initialize structure values
2019-09-21 22:43:49 -04:00
tools
freezer: Update documentation
2019-06-20 19:22:53 -04:00
CMakeLists.txt
externals: Move OSS font data to file_sys in core
2019-10-13 13:46:10 -04:00
constants.cpp
constants: Extract backup JPEG used by account services
2019-06-07 17:46:57 -04:00
constants.h
constants: Extract backup JPEG used by account services
2019-06-07 17:46:57 -04:00
core.cpp
Merge pull request #2912 from FernandoS27/async-fixes
2019-10-16 10:34:48 -04:00
core.h
Merge pull request #2654 from DarkLordZach/lm-log-rewrite
2019-10-08 20:23:13 -04:00
core_cpu.cpp
Core Timing: Rework Core Timing to run all cores evenly.
2019-10-09 12:30:31 -04:00
core_cpu.h
kernel/scheduler: Pass in system instance in constructor
2019-03-04 17:01:37 -05:00
core_timing.cpp
Core_Timing: Address Remaining feedback.
2019-10-12 07:26:38 -04:00
core_timing.h
Core_Timing: Address Feedback and suppress warnings.
2019-10-11 14:44:14 -04:00
core_timing_util.cpp
core/core_timing_util: Use std::chrono types for specifying time units
2019-06-04 20:31:24 -04:00
core_timing_util.h
core/core_timing_util: Amend casing of cyclesTo* functions
2019-06-04 20:31:46 -04:00
cpu_core_manager.cpp
Core_Timing: Address Feedback and suppress warnings.
2019-10-11 14:44:14 -04:00
cpu_core_manager.h
core/cpu_core_manager: Create threads separately from initialization.
2019-04-11 22:11:40 -04:00
hardware_interrupt_manager.cpp
NVServices: Styling, define constructors as explicit and corrections
2019-07-05 15:49:32 -04:00
hardware_interrupt_manager.h
NVServices: Styling, define constructors as explicit and corrections
2019-07-05 15:49:32 -04:00
memory.cpp
core: Remove Core::CurrentProcess()
2019-10-06 13:53:12 -04:00
memory.h
memory: Remove unused PageTable forward declaration
2019-07-06 02:24:34 -04:00
memory_setup.h
core: Move PageTable struct into Common.
2019-03-16 22:05:40 -04:00
perf_stats.cpp
Address review comments
2019-09-10 12:57:45 +02:00
perf_stats.h
Address review comments
2019-09-10 12:57:45 +02:00
reporter.cpp
lm: Flush manager output on core shutdown
2019-09-22 12:34:55 -04:00
reporter.h
lm: Flush manager output on core shutdown
2019-09-22 12:34:55 -04:00
settings.cpp
settings: Add option to set BCAT backend
2019-09-30 17:21:53 -04:00
settings.h
settings: Add option to set BCAT backend
2019-09-30 17:21:53 -04:00
telemetry_session.cpp
yuzu: Remove setting for using Unicorn
2019-07-11 05:59:13 -04:00
telemetry_session.h
core/telemetry_session: Remove usages of the global system accessor
2019-05-28 22:28:15 -04:00