1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

106 Commits

Author SHA1 Message Date
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
Igor S. Gerasimov
3f700c93a6 Do not unset TRACY_CALLSTACK 2024-12-27 11:47:02 +01:00
Igor S. Gerasimov
9aba23bbb0 Remove TRACY_HAS_STACKCALL from TracyC.h 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
117ab107c1 Simplify macroses for stack collections 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
4591dfa208 Simplify tracy::Profiler defines 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
1c63239a78 Always collect callstack 2024-12-27 11:29:41 +01:00
Bartosz Taudul
a916050724
Add memory discard to C API. 2024-10-21 18:31:49 +02:00
Bartosz Taudul
f4df9013bb
Add memory discard message.
This can be used to erase all allocations made within the named memory
pool. The usual use case would be for arena allocators, which allocate
by advancing a pointer and never have to free the memory. There is no
tracking of individual allocations and everything is freed frequently,
by reseting the pointer, for example once per frame.

Since this is used in special-purpose allocators, there is no support
for discarding the memory of the default memory pool.
2024-10-21 18:22:22 +02:00
Marcos Slomp
7bb59b6784 fixing debugging & scoping issues 2024-09-12 17:24:00 -07:00
Marcos Slomp
bd061d1d1b removing unsupported macro interfaces 2024-09-09 17:20:19 -07:00
Marcos Slomp
19f376a6c9 fixixng interface macros 2024-09-09 17:08:15 -07:00
Marcos Slomp
0ffa0be4fd addressing code review comments 2024-09-03 11:15:39 -07:00
Marcos Slomp
fe51f02a25 cleanup and comments 2024-08-26 08:15:47 -07:00
Marcos Slomp
aa85824455 comments about the decisions and behavior of the Metal back-end 2024-08-26 08:15:47 -07:00
Marcos Slomp
799360dfb8 Collect pending timestamps during shutdown 2024-08-26 08:15:47 -07:00
Marcos Slomp
ea65b145c6 adding wiretap for debugging purposes 2024-08-26 08:15:47 -07:00
Marcos Slomp
06b23cc293 more cleanup 2024-08-26 08:15:47 -07:00
Marcos Slomp
5ec7565852 cleanup 2024-08-26 08:15:47 -07:00
Marcos Slomp
638fa1f06c blarg3 2024-08-26 08:15:47 -07:00
Marcos Slomp
cef49c2269 blarg again... 2024-08-26 08:15:47 -07:00
Marcos Slomp
5f09d454be blargh 2024-08-26 08:15:47 -07:00
Marcos Slomp
91ca0f2f89 improved panic macro (supports print args) 2024-08-26 08:15:47 -07:00
Marcos Slomp
04cf494d9c bugfixes 2024-08-26 08:15:47 -07:00
Marcos Slomp
b11e66594d debugging 2024-08-26 08:15:47 -07:00
Marcos Slomp
ad2c2efacd fixing collect wrap-around 2024-08-26 08:15:47 -07:00
Marcos Slomp
a9538799da more debugging 2024-08-26 08:15:47 -07:00
Marcos Slomp
c374440379 adding blit pass and render pass interfaces 2024-08-26 08:15:47 -07:00
Marcos Slomp
c6cc424991 collecting/resolving timestamps in pairs 2024-08-26 08:15:47 -07:00
Marcos Slomp
6d04913b4a stale comments 2024-08-26 08:15:47 -07:00
Marcos Slomp
3d69c485be fixing timestamp mapping range 2024-08-26 08:15:47 -07:00
Marcos Slomp
94407dbd1f giving up on calibration, for now 2024-08-26 08:15:47 -07:00
Marcos Slomp
fd1e60e2fd fixing cpu timestamp baseline 2024-08-26 08:15:47 -07:00
Marcos Slomp
4b695cc3dd debugging timestamps... 2024-08-26 08:15:47 -07:00
Marcos Slomp
47180dbf7f basing metal zone scopes on MTLComputePassDescriptor 2024-08-26 08:15:47 -07:00
Marcos Slomp
1dfc926eb8 Metal back-end WIP 2024-08-26 08:15:47 -07:00
Eyck Jentzsch
c8dbace72e adds transient zone with name and color 2024-08-21 22:55:02 +02:00
Dennis Brakhane
81d7e9d765 only use first 255 characters of source location
When a Lua script was loaded through loadstring, dbg.source is the whole
source code; this not only causes a lot of unnecessary data to be sent,
it can even crash Tracy if the source string is larger than 64 KB.

Therefore, use the short version which is never more than 255 characters.
2024-08-10 14:47:04 +02:00
Bartosz Taudul
37bfde5106
Add fiber enter API with group hint. 2024-08-04 00:08:18 +02:00
Martijn Courteaux
5d52427f4a Two minor fixes. 2024-06-07 11:36:47 +02:00
Jakub Žádník
da9b9f8e79
Fix wrong parameter in TracyCLContextName
The macro accepted a `context` parameter, but its expansion used `ctx`.

`context` is renamed to `ctx` in `TracyCLContext` for consistency.
2024-05-29 16:22:21 +03:00