diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 10:44:41 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 10:44:41 -0500 |
| commit | df2b3a47693fb31b1b938a306c29a3cc6a8cc338 (patch) | |
| tree | 0a1a52811c78a845b29d96fb7fbb1b8d08456b44 /runtime/src/xma2_decoder.cpp | |
| parent | ce36fbfd570f8cb9e848911e52e48593987d8ed6 (diff) | |
Helpers of the submitting thread run at its priority (LEONIDA_HELPER_PRIORITY, on)
The threads the submitting thread waits for (the wide pool, the pools of
land, the heaps' records thread, the heap pass beside the lists) ran at
normal priority, level with the title's threads and the list translators;
on a six-core processor they were often not running while it waited. They
now run above normal; LEONIDA_HELPER_PRIORITY=0 leaves them at normal, and
LEONIDA_AB can flip it while the title runs.
Ported from trustno1-coder/VIctory-NVIDIA 80c70b7 (Indy2l, pull request
#22; GPL-3.0). Measured there with the A/B switch in one run on an
i5-12400F (6 cores, 12 threads) with an RTX 3060, Series S at 540p,
off / on: 8.6 / 9.6 fps, refreshes 23.1 / 17.6 ms a frame, waiting for
the heaps' records 6.2 / 2.5 ms, card idle behind the submitting thread
24.7 / 13.2 ms. Scheduling only: nothing the card is given changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions