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

330 Commits

Author SHA1 Message Date
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
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
Igor S. Gerasimov 39137d809e Accept zero-depth callstack 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 e9eecbb2c6 Replace #ifdef TRACT_HAS_CALLSTACK with constexpr call 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov cf912bbb19 Merge ScopedZone initializers 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov 1c63239a78 Always collect callstack 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov e9664a1c87 Introduce has_stacktrace function 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov 5051db201e Show error message if TRACY_MANUAL_LIFETIME is enabled without enabled TRACY_DELAYED_INIT 2024-12-27 08:51:50 +01:00
JCash c5797e4e36 Added missing tracy:: 2024-12-01 16:19:27 +01:00
Sergio Acereda b9ee0d3b4c Leak, returned value from GetThreadDescription not freed 2024-11-19 14:24:50 +01:00
Trout Zhang 339a92a7b2 Fix crash on Android due to wrong TLS model 2024-11-15 18:22:35 +02:00
Fabian Knorr 7ef690bd5a Silence GCC fscanf warning in TracySysPower.cpp
fscanf is [[warn_unused_result]], which triggers -Wunused-result. In
this instance it is correct for maxRange to remain unchanged if reading
from sysfs should fail for some reason.
2024-11-13 10:15:05 +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
Joshua Kriegshauser 66edfaec42 More PR feedback 2024-10-02 12:50:12 -07:00
Joshua Kriegshauser e1554a13e0 PR feedback 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 9dfb1e98b9 Line and braces tweaks 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 97a6a3dde7 always override unhandled exception filter 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser cc860fe56a Reduce template code 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 201dcb6a8a Tweaks 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 5213c53bb0 Use SetUnhandledExceptionFilter instead of vectored exceptions 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 9378718231 Safe copy 2024-10-02 11:21:34 -07:00
Dmytro Bulatov 34879d6dd3 Bumped protocol version 2024-10-03 02:48:50 +09:00
Dmytro Bulatov defb91abc1 Added Custom GPU Context Type 2024-10-03 01:55:29 +09:00
Marcos Slomp 7bb59b6784 fixing debugging & scoping issues 2024-09-12 17:24:00 -07:00
Bartosz Taudul 9a3a6ba3ef Bump protocol due to Metal adding an enum entry. 2024-09-10 19:08:43 +02:00
Bartosz Taudul e8ff26e173 Merge pull request #793 from slomp/slomp/metal
Metal (Apple) GPU back-end for Tracy
2024-09-10 19:08:04 +02: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
Bartosz Taudul 11777e8136 Check if core_id and die_id exist. 2024-09-07 23:53:57 +02:00
Bartosz Taudul ea4de3be36 Detect and report if running under Wine. 2024-09-07 22:09:00 +02:00
Marcos Slomp 0ffa0be4fd addressing code review comments 2024-09-03 11:15:39 -07:00