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

7071 Commits

Author SHA1 Message Date
Bartosz Taudul a8a4fe21b3 Adjust assembly register selection colors. 2022-09-17 22:03:41 +02:00
Bartosz Taudul 79a1f5cd80 Tokenize assembly operands. 2022-09-17 21:54:50 +02:00
Bartosz Taudul 0a69ef3b9c Print asm operands taking tokens into account. 2022-09-16 00:30:56 +02:00
Bartosz Taudul d823a24534 Dummy tokenization of asm operands. 2022-09-16 00:30:29 +02:00
Bartosz Taudul 4913f0e1e6 Greatly simplify asm line text drawing.
This change also colors asm mnemonics and jump labels. Asm operands are not
yet colored.
2022-09-15 23:36:31 +02:00
Bartosz Taudul a45293d6ff Enumerate asm token color names. 2022-09-15 23:36:30 +02:00
Bartosz Taudul 31b5a464cd Add assembly color tables. 2022-09-15 23:36:30 +02:00
Bartosz Taudul 6dc7c8c6b5 Add assembly keyword maps. 2022-09-15 23:36:29 +02:00
Bartosz Taudul aa017e6a76 Merge pull request #468 from sherief/exception-handler-fix
Windows exception handler allows other handlers to be called.
2022-09-15 11:33:39 +02:00
Bartosz Taudul 0fc1c0f927 Make symbol thread exit status more robust. 2022-09-13 21:07:03 +02:00
Bartosz Taudul 048e20b68c Check for macro existence before checking its value. 2022-09-11 13:09:59 +02:00
Sherief Farouk e8b3d22d76 Windows exception handler allows other handlers to be called.
The profiled app might install handlers to track crashes, write minidumps,
etc. - this patch makes sure the app's exception handler is called when
a crash happens while profiling with Tracy.
2022-09-10 17:16:58 -07:00
Bartosz Taudul c27bcc524c Store syntax colors as 32-bit uints. 2022-09-11 00:46:27 +02:00
Bartosz Taudul f8cf7ff45a Do not use deprecated grep variants. 2022-09-11 00:32:07 +02:00
Bartosz Taudul 9372d9fb28 Collect asm operation type data. 2022-09-11 00:30:37 +02:00
Bartosz Taudul ad23932e9f Merge pull request #467 from simplyWiri/fix-missing-tree-pop
Add missing TreePop in function which is called from inside a TreeNode
2022-09-10 12:05:05 +02:00
simplyWiri 830e7162eb Add missing TreePop in function which is called from inside a TreeNode 2022-09-10 17:09:04 +10:00
Bartosz Taudul ae0fe3cc93 Merge pull request #466 from Pilzschaf/gpu_c_api_improvements
Added gpu zone begin non-alloc and callstack variants to the C API
2022-09-09 22:59:30 +02:00
Pilzschaf a55fd64a5b Added gpu zone begin non-alloc and callstack variants to the C API 2022-09-09 21:23:07 +02:00
Bartosz Taudul 097b68e7bb Merge pull request #465 from Pilzschaf/gpu_c_api_improvements
Added gpu calibration to the C API
2022-09-09 19:22:25 +02:00
Pilzschaf 823519a1de Fix indentation 2022-09-09 18:45:54 +02:00
Pilzschaf 41a1ac203b Added gpu calibration to the C API 2022-09-09 18:40:17 +02:00
Bartosz Taudul eee6cb06fa Align jump arrows to pixel boundaries. 2022-09-09 00:32:13 +02:00
Bartosz Taudul 0e930a2c13 Prevent thick zone highlight from going outside the zone box. 2022-09-09 00:18:40 +02:00
Bartosz Taudul 5bd3f3de5f Don't use space for frame sets that are out of view range.
This becomes problematic at the end of the range, as continuous frames do not
have an "end", but rather essentially persist until the last recorded event.
2022-09-07 23:35:27 +02:00
Bartosz Taudul f16c64872b Update manual. 2022-09-05 20:35:39 +02:00
Bartosz Taudul 4fd4baf557 Update NEWS. 2022-09-05 20:32:24 +02:00
Bartosz Taudul 48e7a17d1d Clicking on a CPU data thread will make it visible. 2022-09-05 20:30:03 +02:00
Bartosz Taudul d2ab66195c Allow changing timeline item collapsed state. 2022-09-05 20:29:45 +02:00
Bartosz Taudul a975687d5f Update manual. 2022-09-05 20:18:00 +02:00
Bartosz Taudul 02a47fb5bd Update NEWS. 2022-09-05 20:15:20 +02:00
Bartosz Taudul 5200ea2c84 Hide frame related information if no frame instrumentation. 2022-09-05 20:12:36 +02:00
Bartosz Taudul 23ebce2862 Implement checking if frames are in use. 2022-09-05 20:12:12 +02:00
Bartosz Taudul 53632ccb5b Cleanup. 2022-09-04 14:56:12 +02:00
Bartosz Taudul 44efb15df1 Remove VisData.
Its functionality is now incorporated into TimelineItem. For purposes of
maintaining visibility of frame sets and locks a much simpler ptr -> bool map
is now used.
2022-09-04 14:46:51 +02:00
Bartosz Taudul ad2fc03125 Migrate CPU data to timeline item system. 2022-09-04 14:31:02 +02:00
Bartosz Taudul 827b390e34 Add mutable ViewData accessor. 2022-09-04 14:31:01 +02:00
Bartosz Taudul 9c464e9f05 Make timeline item visibility functions virtual. 2022-09-04 14:31:00 +02:00
Bartosz Taudul 135d3b7f30 Fix GPU contexts in options menu. 2022-09-04 13:52:53 +02:00
Bartosz Taudul 06d0989161 Add GPU index accessor. 2022-09-04 13:52:17 +02:00
Bartosz Taudul 9fdafb2ecc Make the GPU context name primary focus. 2022-09-04 13:47:06 +02:00
Bartosz Taudul 60579d6334 Migrate drawing GPU data to the new timeline item system. 2022-09-04 13:39:20 +02:00
Bartosz Taudul ec3e88ce53 Manage GPU index counter in View. 2022-09-04 13:37:19 +02:00
Bartosz Taudul 2711af39e5 Check if zoom range is valid.
This is important for GPU zones, which may have broken timing data.
2022-09-04 13:16:26 +02:00
Bartosz Taudul e41deb1ff6 Check item map too for hidden items. 2022-09-03 23:43:26 +02:00
Bartosz Taudul 10faf16aee Allow access to item map. 2022-09-03 23:43:17 +02:00
Bartosz Taudul b66e10972a Add visibility accessor to TimelineItem. 2022-09-03 23:42:52 +02:00
Bartosz Taudul ca125bd44c Collapse Tracy threads by default.
Note that this will likely work only when loading existing traces. In live
captures the thread name may not have yet been retrieved at the point when
timeline item insertion occurs, which will prevent the check from succeeding.
2022-09-03 23:35:35 +02:00
Bartosz Taudul ec3dcaeef3 Migrate drawing CPU threads to the new timeline item system. 2022-09-03 23:28:54 +02:00
Bartosz Taudul e3007062fc Add support for drawing timeline item overlays. 2022-09-03 23:24:00 +02:00