suyu/src/common
comex d37f0b29e2 Fix thread naming on Linux, which limits names to 15 bytes.
- 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!
2020-08-05 20:34:49 -07:00
..
logging logging/backend: Make use of designated initializers 2020-08-03 10:37:48 -04:00
x64 Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
algorithm.h common/algorithm: Add description comment indicating intended algorithms 2019-10-15 15:25:23 -04:00
alignment.h alignment: explicitly include <new> after 723edb4c06 2020-07-18 23:06:16 +00:00
assert.h fix clang-format and lambda capture 2019-11-23 01:30:06 +01:00
atomic_ops.cpp common/atomic_ops: Don't cast away volatile from pointers 2020-07-28 04:36:53 -04:00
atomic_ops.h common/atomic_ops: Don't cast away volatile from pointers 2020-07-28 04:36:53 -04:00
bit_field.h Fix -Werror=conversion error. 2020-04-24 09:33:04 +02:00
bit_util.h texture_cache: Optimize GetMipBlockHeight and GetMipBlockDepth 2019-06-20 21:36:12 -03:00
cityhash.cpp
cityhash.h
CMakeLists.txt ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) 2020-08-03 07:28:54 -04:00
color.h
common_funcs.h common: common_funcs: Add a macro for defining enum flag operators. 2020-04-17 00:59:27 -04:00
common_paths.h common: Add a screenshots directory 2020-07-20 22:51:02 -04:00
common_types.h
concepts.h ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) 2020-08-03 07:28:54 -04:00
detached_tasks.cpp
detached_tasks.h
dynamic_library.cpp common/dynamic_library: Import and adapt helper from Dolphin 2020-04-07 02:23:23 -03:00
dynamic_library.h common/dynamic_library: Import and adapt helper from Dolphin 2020-04-07 02:23:23 -03:00
fiber.cpp Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
fiber.h Common/Fiber: Address Feedback and Correct Memory leaks. 2020-06-18 16:29:27 -04:00
file_util.cpp common: Add a screenshots directory 2020-07-20 22:51:02 -04:00
file_util.h common: Add a screenshots directory 2020-07-20 22:51:02 -04:00
hash.h common/hash: Remove unused HashableStruct 2019-11-13 14:58:43 -05:00
hex_util.cpp common/hex_util: Combine HexVectorToString() and HexArrayToString() 2019-06-12 17:54:05 -04:00
hex_util.h common/hex_util: Reserve std::string memory ahead of time 2019-06-12 17:54:11 -04:00
lz4_compression.cpp common/lz4_compression: Remove #pragma once directive from the cpp file 2019-04-03 22:07:04 -04:00
lz4_compression.h common/{lz4_compression, zstd_compression}: Add missing header guards 2019-04-15 13:00:08 -04:00
math_util.h common/math_util: Support float type rectangles 2020-02-28 16:22:11 -03:00
memory_detect.cpp common: switch to nullptr for sysctl's empty new value 2020-06-30 23:00:18 +00:00
memory_detect.h main: Log host system memory parameters 2020-05-17 14:45:12 -04:00
memory_hook.cpp
memory_hook.h
microprofile.cpp
microprofile.h
microprofileui.h
misc.cpp
multi_level_queue.h Kernel Scheduler: Make sure the global scheduler shutdowns correctly. 2019-10-15 11:55:24 -04:00
page_table.cpp common: page_table: Update to use VirtualBuffer and simplify. 2020-04-17 00:59:34 -04:00
page_table.h common: page_table: Update to use VirtualBuffer and simplify. 2020-04-17 00:59:34 -04:00
param_package.cpp
param_package.h
quaternion.h
ring_buffer.h
scm_rev.cpp.in common: Add additional SCM revision fields 2019-10-05 00:09:49 -04:00
scm_rev.h common: Add additional SCM revision fields 2019-10-05 00:09:49 -04:00
scope_exit.h common: scope_exit: Implement mechanism for canceling a scope exit. 2020-04-17 00:59:28 -04:00
spin_lock.cpp Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
spin_lock.h Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
string_util.cpp common/logging: don't use regex for path trimming 2020-01-23 23:08:05 +01:00
string_util.h common/string_util: Remove unimplemented function prototype (#4414) 2020-07-25 15:37:51 +02:00
swap.h common/swap: Make use of std::endian 2020-07-14 16:26:54 -04:00
telemetry.cpp common/telemetry: Add AVX512 to telemetry 2020-06-20 00:31:37 -04:00
telemetry.h
thread.cpp Fix thread naming on Linux, which limits names to 15 bytes. 2020-08-05 20:34:49 -07:00
thread.h General: Tune the priority of main emulation threads so they have higher priority than less important helper threads. 2020-06-27 11:36:09 -04:00
thread_queue_list.h
threadsafe_queue.h common: SPSCQueue: Notify after incrementing queue size. 2019-12-16 20:39:53 -05:00
time_zone.cpp time_zone: Use std::chrono::seconds for strong typing. 2020-05-12 18:44:07 -04:00
time_zone.h time_zone: Use std::chrono::seconds for strong typing. 2020-05-12 18:44:07 -04:00
timer.cpp
timer.h
uint128.cpp Common/uint128: Correct MSVC Compilation in old versions. 2020-06-18 16:29:26 -04:00
uint128.h Common: Refactor & Document Wall clock. 2020-06-18 16:29:18 -04:00
uuid.cpp mii_manager: Cleanup and optimization 2019-04-25 08:07:57 -04:00
uuid.h acc: Return a unique value per account for GetAccountId 2020-04-29 21:09:53 +10:00
vector_math.h
virtual_buffer.cpp virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]] 2020-07-25 03:04:27 -04:00
virtual_buffer.h common: Add VirtualBuffer class, to abstract memory virtualization. 2020-04-17 00:59:31 -04:00
wall_clock.cpp Common/Kernel: Corrections and small bug fixing. 2020-06-27 11:36:21 -04:00
wall_clock.h HostTiming: Pause the hardware clock on pause. 2020-06-27 11:35:10 -04:00
web_result.h
zstd_compression.cpp common/zstd_compression: Remove #pragma once directive from source file 2019-05-04 01:54:29 -04:00
zstd_compression.h common/{lz4_compression, zstd_compression}: Add missing header guards 2019-04-15 13:00:08 -04:00