| 961 | } |
| 962 | |
| 963 | void PruneProfilerThreads(ProfilerFrame* frame, uint64_t time) |
| 964 | { |
| 965 | for (uint32_t i = 0; i < frame->m_Threads.Size(); ) |
| 966 | { |
| 967 | ProfilerThread* thread = frame->m_Threads[i]; |
| 968 | if (thread->m_Time < time) |
| 969 | { |
| 970 | DeleteProfilerThread(thread); |
| 971 | frame->m_Threads.EraseSwap(i); |
| 972 | } |
| 973 | else |
| 974 | { |
| 975 | ++i; |
| 976 | } |
| 977 | } |
| 978 | } |
| 979 | |
| 980 | void AddProperty(ProfilerFrame* frame, uint32_t name_hash, ProfilePropertyType type, ProfilePropertyValue value, int indent) |
| 981 | { |
no test coverage detected