skyline/app/src
Billy Laws 8471ab754d Introduce a spin lock for resources locked at a very high frequency
Constant buffer updates result in a barrage of std::mutex calls that take a lot of time even under no contention (around 5%). Using a custom spinlock in cases like these allows inlining locking code reducing the cost of locks under no contention to almost 0.
2022-11-02 17:46:07 +00:00
..
main Introduce a spin lock for resources locked at a very high frequency 2022-11-02 17:46:07 +00:00