aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/algorithm/interpolate.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-10-13 18:00:25 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-10-13 18:00:25 -0300
commita13623c68bfd3fa9fc31a69b81b0a0ab397473c7 (patch)
tree8e7a42cb87ec56c2fadf3e75a31b1ead0c22514f /src/audio_core/algorithm/interpolate.cpp
parent77bf864c9406a14d38a8b17c0d9ce144b616c2fd (diff)
kernel: Implement host thread register methods without locking
Locks on GetCurrentHostThreadID were causing performance issues according to Visual Studio's profiler. It was consuming twice the time as arm_interface.Run(). The cost was not in the function itself but in the lockinig it required. Reimplement these functions using atomics and static storage instead of an unordered_map. This is a side effect to avoid locking and using linked lists for reads. Replace unordered_map with a linear search.
Diffstat (limited to 'src/audio_core/algorithm/interpolate.cpp')
0 files changed, 0 insertions, 0 deletions