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

312 Commits

Author SHA1 Message Date
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
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
Bartosz Taudul
8e3d250654
Check for errors from GetLogicalProcessorInformationEx(). 2024-08-31 11:36:59 +02: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