Clément Grégoire
4e282371bf
Version 0.11.3 instead of 0.12.0
2025-04-08 13:51:32 +02:00
Clément Grégoire
6486d8147d
Fix formating issues
2025-04-08 13:48:50 +02:00
Clément Grégoire
df76b376a7
Thread wakeup visualization
...
This PR does the following things:
- Allow to lock the highlighted thread using left mouse click or lane popup menu
- Add more descriptions for wait reasons in View::DecodeContextSwitchReason
- Stores the Wakeup CPU so that we may display it in the CPU data view
- `QueueThreadWakeup` now contains cpu and adjust info (currently unused). Fits in the padding, no struct size change.
- `QueueContextSwitch` now also contains thread priorities information (windows+linux) and CState (windows), but currently unused by the profiler. Fits in the padding, no struct size change.
- Fixes Linux `EventWakeup` which tries to remove PERF_SAMPLE_CALLCHAIN on the wrong member. Set the whole `perf_event_attr` explicitely instead.
- Fixes Windows ReadyThread event being dropped if triggered before the thread switches out (this is confirmed to be normal behaviour, probably due to thread being switched out but context switch actually happening later)
- Bumps tracy file version and protocol versions
2025-04-08 11:02:27 +02:00
Julius Range-Lüdemann
eb47afe1f0
Handle callstack of zero in Vulkan and Direct3D 11
...
With TRACY_CALLSTACK set to 0 when not defined, these gpu functions get
called with depth=0. In other places this was alread fixed.
2025-03-10 21:38:59 +01:00
AnthoFoxo
54dcbc87ad
implement lua hook function
2025-02-26 21:09:31 -05:00
Marcos Slomp
5c069f9d8d
quick-fix for TracyD3D11.hpp
...
Apparently, waiting for an enclosing query does not guarantee that the inner queries also become readily available... Need to wait for them too.
2025-02-10 09:13:33 -08:00
Thomas Klausner
7272f9cac1
Use correct header on NetBSD.
2025-01-20 14:10:34 +01:00
Bartosz Taudul
27689bcf43
Merge pull request #962 from foxtran/feature/fortran-support
...
Add initial native Fortran support
2025-01-09 13:18:57 +01:00
Igor S. Gerasimov
802bdbbecc
Fix type(c_ptr) in bind(C)
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
fd33d1c839
Add support of Oracle Sun 12.6
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
21c8d7615d
Add colors
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
f01973a78c
Reset srcloc variables
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
4273d34ca4
tracy_source_location_data must be public
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
fb9686fb28
Prettify code
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
9b14656c8a
Add null char
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
38e7024277
Add plot formats
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
7730ac595f
Add fibers support
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
82460b0316
Use simpler typename of context
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
caabfc6379
Implement plots
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
49cc094869
Implement tracy_appinfo
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
fbc40e8b9e
Implement frame related things
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
4d5cd252a4
Add messages
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
59116feb55
Implement memory operations
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
4fd6d5317b
Implement tracy_connected
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
07cd1d8ee1
Implement zone_set_properties
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
ead67c06d9
Add zone begin/end
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
1d627c86be
Implement tracy_alloc_srcloc
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
66a50a8c76
Add TRACY_MANUAL_LIFETIME routines
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
3488e08aa7
Add Tracy structures except lockable
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
d16986dfa7
Add tracy_set_thread_name
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
e981a5ba6f
Add initial module file
2025-01-05 23:21:12 +01:00
Igor S. Gerasimov
7093eb0b08
Update int for ___tracy_after_try_lock_lockable_ctx
2025-01-02 14:33:09 +01:00
Igor S. Gerasimov
7e128f3bce
Update int for ___tracy_emit_plot_config
2025-01-02 14:32:04 +01:00
Igor S. Gerasimov
6e220fee91
Update int for ___tracy_emit_frame_image
2025-01-02 14:25:06 +01:00
Igor S. Gerasimov
94403bde4b
Update int for ___tracy_before_lock_lockable_ctx
2025-01-02 14:23:06 +01:00
Igor S. Gerasimov
cd8e2a5d8a
Update int for ___tracy_connected
2025-01-02 14:20:37 +01:00
Igor S. Gerasimov
a8f844b970
Use int32_t type for depth in client
2025-01-02 14:19:12 +01:00
Igor S. Gerasimov
78bca3f0e1
Use int32_t for callstack (depth)
2025-01-02 14:04:06 +01:00
Igor S. Gerasimov
4929ac6487
Use int32_t for secure flag
2025-01-02 13:45:47 +01:00
Igor S. Gerasimov
39d382b033
Use int32_t for active flag
2025-01-02 13:42:22 +01:00
Igor S. Gerasimov
8baa50b2f5
Update int for ___tracy_profiler_started
2025-01-02 13:28:39 +01:00
Igor S. Gerasimov
7f516e2fed
Update int type in structures
2025-01-02 13:21:44 +01:00
Bartosz Taudul
8b0b2343e1
Merge pull request #957 from foxtran/feature/merge-calls-callstack
...
Simplify API by decreasing a number of entry points
2025-01-02 12:08:39 +01:00
Igor S. Gerasimov
b9c7cd1738
Fix code formatting
2025-01-02 11:49:51 +01:00
Igor S. Gerasimov
31eeb843c7
Small reformat
2025-01-02 11:26:56 +01:00
Igor S. Gerasimov
d30a2d6854
Simplify ZoneBegin functions
2025-01-02 11:26:56 +01:00
Igor S. Gerasimov
3f700c93a6
Do not unset TRACY_CALLSTACK
2024-12-27 11:47:02 +01:00
Igor S. Gerasimov
a2fce55aee
Rename has_stacktrace -> has_callstack
2024-12-27 11:43:00 +01:00
Igor S. Gerasimov
9aba23bbb0
Remove TRACY_HAS_STACKCALL from TracyC.h
2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
96ba28e761
Use constexpr instead of macro in memory manager in C API
2024-12-27 11:29:41 +01:00