diff options
| author | Aslan2142 <jan.trencansky@protonmail.com> | 2026-11-26 01:01:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-26 01:01:15 +0100 |
| commit | c50ed94b35b37b697ab9c5fd176f3738480b4db5 (patch) | |
| tree | fbc257236021f3e4e41b3a7e7bf062aac898a1bf /runtime/src/thread_stacks.h | |
| parent | 33bd07cf86bb42236635c27341359b3fe841d1d5 (diff) | |
| parent | fc71534883424112a7ea08fefe5b820fc4ee58aa (diff) | |
Merge pull request #2098 from Moriz82/pr/upstream-1125
Improve post-load GPU memory and pipeline handling (RT-POST-LOAD-GPU-MEMORY)
Diffstat (limited to 'runtime/src/thread_stacks.h')
| -rw-r--r-- | runtime/src/thread_stacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/src/thread_stacks.h b/runtime/src/thread_stacks.h index 523c7b266..1edc1b350 100644 --- a/runtime/src/thread_stacks.h +++ b/runtime/src/thread_stacks.h | |||
| @@ -35,4 +35,8 @@ bool parse_stack_times(std::string_view text, std::vector<unsigned>& seconds); | |||
| 35 | // sampler before unmapping the title image. | 35 | // sampler before unmapping the title image. |
| 36 | std::jthread start_thread_stacks(); | 36 | std::jthread start_thread_stacks(); |
| 37 | 37 | ||
| 38 | // The call chain of thread `tid` now, or of every other thread when `tid` is 0, printed as LEONIDA_STACKS does under | ||
| 39 | // the tag `why`. One call at a time; the device-loss diagnostics call it (vulkan_device_fault.h thread_stack_hook). | ||
| 40 | void print_thread_stacks_now(std::uint32_t tid, const char* why) noexcept; | ||
| 41 | |||
| 38 | } // namespace rt | 42 | } // namespace rt |