1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00
Bartosz Taudul f428a5b52b
Fix popup of collapsed items near timeline start.
There are various changes involved into making this work:

1. Zone size (zsz) is no longer clamped to the timeline viewport area.
   This clamping has to be removed to prevent otherwise uncollapsed zones
   from apparently becoming small near the viewport borders. Such a small
   zone would then be collapsed, resulting in unwanted popping.
   Interesingly, only the CPU zones were clamped before. GPU zones were
   not.
2. Iteration over visible zones has to start before the visible timeline
   viewport area. Without this some zones that would be otherwise
   included in the collapsed area (started by a previous zone) may be
   fully visible. This causes child zones to be drawn and produces
   unwanted popping. (At this point threshold for continuing collapsed
   area is greater than threshold for starting it.)
3. Since the iteration now starts before timeline visible area, it may so
   happen that everything found will be in a small slice of timeline that
   is outside the screen. To fix this, the end time of last found item is
   checked against the viewport start time.
   It is always valid to access *(zitend-1), as it is in each case done
   after null set check (it == zitend).

Similar but simpler fix was also applied to per-thread call stack samples.
2023-03-09 00:38:23 +01:00
2022-12-20 00:54:08 +01:00
2023-01-05 23:36:01 +01:00
2022-12-23 19:40:58 +01:00
2022-08-27 16:05:36 +02:00
2020-07-11 12:26:01 +03:00
2022-04-16 00:13:10 +02:00
2023-02-14 17:57:14 +01:00
2023-01-31 22:55:18 +01:00
2022-08-27 16:05:36 +02:00
2023-02-10 20:33:32 +01:00
2022-02-11 20:22:53 +01:00
2022-09-03 17:13:31 +02:00
2023-01-09 00:22:22 +01:00
2022-07-28 18:36:07 -04:00
2023-03-05 19:42:20 +01:00
2022-10-02 14:15:13 +02:00
2022-06-04 16:26:22 +02:00

Tracy Profiler

Sponsor

A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphic APIs: OpenGL, Vulkan, Direct3D 11/12, OpenCL.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.

Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8

Description
C++ frame profiler
Readme BSD-3-Clause 48 MiB
Languages
C++ 90.8%
C 5.3%
TeX 2%
Python 0.9%
CMake 0.5%
Other 0.4%