mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-14 03:09:04 +00:00
The folding process starts at the "next" item. The nextTime variable represents a time point before which everything should be folded, because all items in that range are smaller than MinVis range. The lower_bound search finds a new "next" item, which will be beyond the nextTime range. But nextTime has origin in the previous "next" item, which may be not the last item in the folding range. If the distance between the new "next" and the item before is smaller than MinVis, then the new "next" item is also folded and the folding loop must continue to run.
20 KiB
20 KiB