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

288 Commits

Author SHA1 Message Date
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
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
Bartosz Taudul e26c34346b libbacktrace: support FDPIC (1dd5c40) 2024-08-24 18:15:52 +02:00
Bartosz Taudul 0d0e56dca3 libbacktrace: avoid infinite recursion (febbb9b) 2024-08-24 18:02:05 +02:00
Bartosz Taudul 12c8592325 libbacktrace: fix UBSAN issues (5aa9254) 2024-08-24 18:01:10 +02:00
Bartosz Taudul ef21f5867e libbacktrace: correctly gather Mach-O symbol table (3fda5a8) 2024-08-24 17:57:43 +02:00
Bartosz Taudul ba79deddf6 libbacktrace: it's OK if zstd decompressor sees no backward bits (4ead348) 2024-08-24 17:55:41 +02:00
Bartosz Taudul 8f3b312b7c Get CPU die information on windows. 2024-08-24 17:47:00 +02:00
Bartosz Taudul 357b557684 Add die to CPU topology data structures.
Drawing dies on the topology chart is a minimal effort for the time being.
An improved version will be added later on.
2024-08-22 20:26:11 +02:00
Bartosz Taudul e947aeb72d Read CPU die information on Linux. 2024-08-22 20:26:09 +02:00
Bartosz Taudul 353545a1e9 Add die to topology data. 2024-08-22 00:58:01 +02:00
Bartosz Taudul fb617fe998 Zero-initialize CPU topology data structure. 2024-08-22 00:54:12 +02: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
Patrick Moffett b2ee226fd7 remove constexpr from GetSamplingInterval 2024-08-08 22:22:52 -07:00
Bartosz Taudul ee65a45bef Vararg functions can't be inlined. 2024-08-08 19:55:32 +02:00
Bartosz Taudul 37bfde5106 Add fiber enter API with group hint. 2024-08-04 00:08:18 +02:00
Bartosz Taudul 0b74b14f88 Save thread group hint. 2024-08-03 20:23:26 +02:00
Bartosz Taudul 8cea63cbca Send thread group hint message. 2024-08-03 19:40:49 +02:00
Bartosz Taudul beb42a3d29 Change group hint from unsigned to signed. 2024-08-03 19:40:11 +02:00