Commit Graph

8747 Commits

Author SHA1 Message Date
Clément Grégoire
9c3629ab28 Revert margin modifications 2025-07-22 22:02:47 +02:00
Clément Grégoire
479b714b4b Add zone depth limit documentation 2025-07-22 20:51:06 +02:00
Clément Grégoire
ed569b20c2 Update colors to be more discrete 2025-07-22 20:04:40 +02:00
Clément Grégoire
ed6a6d1e92 Fix cropper positions and sizes. Display hint when cropped. Allow depth to be lower than limit. 2025-07-22 20:02:08 +02:00
Antoine Mura
f32d4e4b44 Adjust aligment 2025-07-22 16:37:53 +02:00
Antoine Mura
d18f08fb9e Add Thread Timeline Cropping 2025-07-22 09:22:38 +02:00
Bartosz Taudul
7e833e7ddc Merge pull request #1061 from c-cube/simon/check-in-import-fuchsia
add a sanity check to fuchsia importer
2025-06-02 17:45:58 +02:00
Simon Cruanes
bbf225b788 add a sanity check to fuchsia importer 2025-06-02 10:41:25 -04:00
Bartosz Taudul
18242189e1 Merge pull request #1060 from evan-barentin/eb-fix-git-ref-call-outside-source
Fix profiler compilation when build directory is outside the source directory
2025-06-02 16:03:24 +02:00
Evan Barentin
9becb3221d Fix: precise source directory to git log call 2025-06-02 13:37:51 +02:00
Bartosz Taudul
2875926cdb Disable debug functionality in ppqsort.
Apple's stdlib doesn't implement syncstream.
2025-06-01 19:51:36 +02:00
Bartosz Taudul
79c5bdcf62 Merge pull request #1055 from produktivkraft/osx_vscroll
fix vertical scroll bar lost  on macos
2025-05-31 18:39:17 +02:00
Allen Guo
b8267a1660 fix vertical scroll bar lost on macos 2025-05-31 23:40:56 +08:00
Bartosz Taudul
87924acdd9 Release 0.12.0. v0.12.0 2025-05-30 20:27:13 +02:00
Bartosz Taudul
902d32f54f Update manual. 2025-05-30 19:03:17 +02:00
Bartosz Taudul
74302ad184 Update NEWS. 2025-05-30 18:35:17 +02:00
Bartosz Taudul
0574decec0 Shorten image names by default. 2025-05-30 18:20:40 +02:00
Bartosz Taudul
f14ff2b994 Support old compilers. 2025-05-24 13:16:13 +02:00
Bartosz Taudul
2dfedbe833 Merge pull request #1052 from siliceum/remove-python-dependency
Fix #996 Remove any need for python during build
2025-05-24 13:13:53 +02:00
Clément Grégoire
eba268ad9d Fix #996 Remove any need for python during build
We are now using only CMake to generate `GitRef.hpp`. This should make it easier to build on Windows.
We use git's pretty formatting instead of rev-parse to output the full file in a single command, then CMake's `copy_if_different` to avoid unnecessary rebuilds.

Trick is to use %n for newlines and %x22 for quotes. See https://git-scm.com/docs/pretty-formats

We also output "unknown" and a warning when git is not available.
2025-05-24 01:16:08 +02:00
Bartosz Taudul
8b3a421153 Merge pull request #1051 from FRaNk090/feature/cuda
Add CUDA Backend Support to Tracy profiler
2025-05-23 23:29:55 +02:00
Fan Chen
0eb3a82673 Move CUDA after Custom as existing traces may use the Custom identifier 2025-05-23 15:22:36 -04:00
Fan Chen
1cb85b037d Refine tracy cuda documentation 2025-05-23 12:59:21 -04:00
Fan Chen
d0b7c7c048 ADD CUDA to GpuContextNames 2025-05-22 19:28:17 -04:00
Fan Chen
feda21b047 Refine tracy cuda documentation 2025-05-22 19:26:57 -04:00
Fan Chen
467f39b222 Add TracyCUDAStartProfiling and TracyCUDAStopProfiling macros 2025-05-22 15:38:40 -04:00
Bartosz Taudul
71fc3bc747 Merge pull request #1040 from blegat/TimeToStringExact
Time to string exact
2025-05-19 12:57:45 +02:00
Benoît Legat
45f9ece0b1 Apply review comment 2025-05-18 09:30:38 +02:00
Fan Chen
7712e53b1c Add Documentation in manual 2025-05-17 14:55:46 -04:00
Fan Chen
8075a2c88f Add necessary Tracy macros 2025-05-17 14:55:02 -04:00
Fan Chen
67552743ba Add necessary Tracy macros 2025-05-17 13:35:23 -04:00
Fan Chen
0ef8bdd44d Fix wrapping everything inside #if TRACY_ENABLE / #else blocks 2025-05-17 13:23:39 -04:00
Fan Chen
f48ba426c2 Remove TODO: Replace it with CUDA type 2025-05-17 13:12:08 -04:00
Fan Chen
f0ae6ffe61 enclose everything inside #if TRACY_ENABLE / #else blocks 2025-05-17 13:09:48 -04:00
Fan Chen
ac6f2e56e6 add CUDA to list of supported GPU compute APIs 2025-05-17 13:06:16 -04:00
Fan Chen
abaaa8c1b1 Bump up protocol version 2025-05-17 12:59:27 -04:00
Fan Chen
62dd2c887e Replace GPU context type with CUDA 2025-05-17 12:57:53 -04:00
Fan Chen
8643d0f1cc Add CUDA queue type 2025-05-17 12:56:19 -04:00
Fan Chen
b52fa7d8ef Add tracy cuda header file including necessary Tracy Macros 2025-05-17 12:54:52 -04:00
Bartosz Taudul
c530219e46 Merge pull request #1047 from siliceum/nocrash-on-max-source-loc
Fix crash when reaching the source location limit
2025-05-12 17:03:39 +02:00
Clément Grégoire
c100b32b48 Fix crash when reaching the source location limit
Instead of crashing when reaching the maximum number of source locations, display an empty source location ( with "???" everywhere).
Keeping the assert for discoverability of the limit in debug, but ensure profiler won't crash later on (or in release).
2025-05-12 13:49:31 +02:00
Bartosz Taudul
a8d6707368 Merge pull request #1045 from siliceum/fix-delay-loading
Fix delay loading by not exporting variables
2025-05-12 13:21:17 +02:00
Clément Grégoire
10c6e3dee1 Fix delay loading by not exporting variables
[`/DELAYLOAD`](https://learn.microsoft.com/en-us/cpp/build/reference/delayload-delay-load-import?view=msvc-170) only works with exported functions, not variables (as it patches thunks after the first load).
So instead of using exporting a pointer for `___tracy_RtlWalkFrameChain`, make it a function that will call said pointer. This only adds a `mov`+`jmp` instructions in optimized builds to the call, which is negligible compared to the actual cost of RtlWalkFrameChain. This also does not affect the reported callstack since it will use a `jmp` without touching the stack, so `___tracy_RtlWalkFrameChain` won't appear in the capture stacktrace.
2025-05-12 11:56:38 +02:00
Bartosz Taudul
53510c316b Update nfd-extended to 1.2.1, retrieve via CPM. 2025-05-11 14:16:20 +02:00
Bartosz Taudul
fc9b39e26d Bump ImGui to 1.91.9b-docking. 2025-05-11 13:50:34 +02:00
Bartosz Taudul
5140a5a411 Merge pull request #1021 from siliceum/wakeup
Thread wakeup visualization
2025-05-10 13:55:51 +02:00
Bartosz Taudul
3ff5e9b128 Merge pull request #1041 from tvoeroes/fix-some-too-small-buffers
fix some string buffer sizes
2025-05-10 00:31:08 +02:00
Tomaž Vöröš
a088ebe337 fix some buffer sizes 2025-05-10 00:27:32 +02:00
Clément Grégoire
0ce3b05d64 Fix issues with timeline highlight code when IsMouseClickReleased is called
`HandleTimelineMouse` did the following
- `m_highlight.active = true` when clicked
- update range while dragging
- `m_highlight.active = false` when not dragging

This causes issues when `IsMouseClickReleased` is called somewhere else as
- `mousePotentialClickRelease` is set to true on click
- At beginning of frame, `mouseDragging` is set to `false` as long as `mousePotentialClickRelease` is `true` and mouse delta is under the drag threshold
- This means that if the mouse didn't move enough in the duration of a frame, highlight would immediately stop, even though we were still holding the mouse button down

Instead, it now only stops highlighting once the mouse is no longer down (ie: has been "released", cursor having moved or not)
2025-05-07 15:37:56 +02:00
Benoît Legat
98c7768fd0 Add _int64_abs function 2025-05-06 17:49:01 +02:00