| 874 | } |
| 875 | |
| 876 | static ProfilerThread* FindProfilerThread(ProfilerFrame* ctx, dmhash_t name_hash) |
| 877 | { |
| 878 | for (uint32_t i = 0; i < ctx->m_Threads.Size(); ++i) |
| 879 | { |
| 880 | if (name_hash == ctx->m_Threads[i]->m_NameHash) |
| 881 | { |
| 882 | return ctx->m_Threads[i]; |
| 883 | } |
| 884 | } |
| 885 | return 0; |
| 886 | } |
| 887 | |
| 888 | ProfilerThread* FindOrCreateProfilerThread(ProfilerFrame* ctx, uint32_t name_hash) |
| 889 | { |
no test coverage detected