Bartosz Taudul
0a7ae94fcb
View::Draw() is no longer static.
2022-10-13 19:50:35 +02:00
Bartosz Taudul
c89c4f46ea
Hook up attention callback.
2022-10-13 19:31:47 +02:00
Bartosz Taudul
575f627136
All View ctor parameters need to be explicitly stated.
2022-10-13 19:30:15 +02:00
Bartosz Taudul
c0c3b58955
Remove dead code.
2022-10-13 19:25:36 +02:00
Bartosz Taudul
b88ef29792
Make sure source file data is properly tracked.
2022-10-13 19:00:22 +02:00
Bartosz Taudul
fc85e46f31
Always fill source code query queue when performing a query.
...
Previous implementation made these two events separate.
2022-10-13 18:15:04 +02:00
Bartosz Taudul
70dd37bbea
Display local call stack for assembly lines.
2022-10-12 00:45:05 +02:00
Bartosz Taudul
c041b962c0
Construct fake callstack frames for code location data.
2022-10-12 00:27:12 +02:00
Bartosz Taudul
ed455339b3
Remove codeAddressToLocation map.
2022-10-12 00:13:07 +02:00
Bartosz Taudul
0b84b50d9f
Remove locationCodeAddressList map from Worker.
...
Mapping of source code locations to code addresses is now performed
dynamically during disassembly in SourceView.
2022-10-12 00:13:07 +02:00
Bartosz Taudul
57e039f96c
Restore building code symbol map.
2022-10-11 23:04:06 +02:00
Bartosz Taudul
383ecb6a12
Remove CodeLocation query and CodeInformation response.
2022-10-11 22:56:23 +02:00
Bartosz Taudul
ac6902501a
Get location for address from callstack frame data.
2022-10-11 21:47:28 +02:00
Bartosz Taudul
4d0768ba9d
Replace code location queries with callstack frame ones.
2022-10-11 21:40:45 +02:00
Bartosz Taudul
c9adadf86a
When opening a new trace, set view to whole time span.
2022-10-10 22:55:56 +02:00
Bartosz Taudul
60f0ed8c0e
Include child calls in inline propagation.
2022-10-09 21:12:47 +02:00
Bartosz Taudul
720f339784
Implement inline cost propagation down the stack.
2022-10-09 21:09:25 +02:00
Bartosz Taudul
dbad69cd4f
Add inlines propagation UI.
2022-10-09 21:04:41 +02:00
Bartosz Taudul
a87cbacbc1
Fix offset of source code separator line.
2022-10-09 13:45:20 +02:00
Bartosz Taudul
9f60b53729
Enable file selector on emscripten.
2022-10-06 18:12:51 +02:00
Bartosz Taudul
ec0757c03a
Change file selector to work with callbacks.
2022-10-06 18:12:50 +02:00
Bartosz Taudul
5d7cf137cf
Convert std::string to const char* in printf call.
2022-10-05 23:45:59 +02:00
Bartosz Taudul
3ca61ad227
Extract file selector functionality.
2022-10-05 22:50:17 +02:00
Bartosz Taudul
5940af8995
Support opening web pages on emscripten.
2022-10-05 01:22:35 +02:00
Bartosz Taudul
5874ac11f7
Sample parents show function, not symbol.
2022-10-04 22:03:05 +02:00
Bartosz Taudul
dff45f1dc1
Just one compression worker thread on emscripten.
2022-10-02 00:40:43 +02:00
Bartosz Taudul
7cdc60886c
Add ZEN4 to microarchitecture selector.
2022-10-01 12:45:11 +02:00
Bartosz Taudul
62c4b70aaa
Reenable ZEN4 cpuid.
2022-10-01 12:40:57 +02:00
Bartosz Taudul
ccb5fefca2
Add ZEN4 microarchitecture data.
2022-10-01 12:40:05 +02:00
Bartosz Taudul
c2142279f1
But do not expose it yet.
2022-10-01 01:42:17 +02:00
Bartosz Taudul
b3dcd57087
Add ZEN4 cpuid.
2022-10-01 01:39:53 +02:00
Bartosz Taudul
863b36d04b
Emscripten expects GLES2 (WebGL 1).
2022-09-30 00:39:42 +02:00
Bartosz Taudul
73fe208b97
Remove unused variable.
2022-09-29 21:02:05 +02:00
Bartosz Taudul
c8c198cae7
Drop support for old, broken compilers.
...
These version macros report 4.2.1 on clang.
2022-09-29 20:59:31 +02:00
Bartosz Taudul
bc30786c05
Mark activity when playback is underway.
2022-09-28 01:17:08 +02:00
Bartosz Taudul
37442a7671
Mark activity when animating message marker.
2022-09-28 01:13:40 +02:00
Bartosz Taudul
64dbaf9d84
Mark activity on buzz anim in zone trace.
2022-09-28 01:12:06 +02:00
Bartosz Taudul
29c7b5f259
Mark activity on frame times histogram highlight.
2022-09-28 01:12:06 +02:00
Bartosz Taudul
1db9681ee2
Mark activity when lock is highlighting.
2022-09-28 01:12:05 +02:00
Bartosz Taudul
fd93f244f0
Mark activity when find zone histogram is highlighting.
2022-09-28 01:12:05 +02:00
Bartosz Taudul
8117d7d4d4
Mark activity when buzz anim is enabled.
2022-09-28 01:12:04 +02:00
Bartosz Taudul
6552108f52
BuzzAnim Update() returns whether it's active.
2022-09-28 01:12:03 +02:00
Bartosz Taudul
499f51f025
Mark activity when animating timeline items.
2022-09-28 01:12:03 +02:00
Bartosz Taudul
09d7b7336f
Mark activity when notification area is in use.
2022-09-28 00:48:45 +02:00
Bartosz Taudul
1f8de433ec
Mark activity when zoom animation is underway.
2022-09-28 00:43:12 +02:00
Bartosz Taudul
03a17c621e
Mark activity when waiting dots are drawn.
2022-09-28 00:36:01 +02:00
Bartosz Taudul
fb4d76469b
Activity tracking global variable.
2022-09-28 00:36:00 +02:00
Bartosz Taudul
a8276c41c3
Allow checking whether View was active.
...
Currently this only checks if client connection is active.
2022-09-27 22:31:53 +02:00
Bartosz Taudul
e7184565b3
No need for more than one space between mnemonic and operands.
2022-09-24 00:39:04 +02:00
Bartosz Taudul
da58c1f55e
Make source location display a bit shorter in asm line.
2022-09-24 00:37:23 +02:00
Bartosz Taudul
55e78ba4f7
Use ellipsis for more condensed source file in asm line.
2022-09-24 00:29:38 +02:00
Bartosz Taudul
7ea063539c
Take less space for asm address in relative mode.
2022-09-21 20:39:35 +02:00
Bartosz Taudul
3d0e461140
Assembly lines spacing improvements.
2022-09-21 20:26:17 +02:00
Bartosz Taudul
3fa5b8f15a
Display local jump target source code preview in tooltip.
2022-09-19 00:33:45 +02:00
Bartosz Taudul
0596fac6f2
Display inline function name in local jump label.
2022-09-19 00:33:18 +02:00
Bartosz Taudul
8d626d25f0
Display call target function name more prominently.
2022-09-18 01:12:52 +02:00
Bartosz Taudul
cdcee49776
Make the ARM registers list more complete.
2022-09-17 23:31:42 +02:00
Bartosz Taudul
8da6105ee4
Cosmetics.
2022-09-17 23:31:34 +02:00
Bartosz Taudul
4cf096d883
Mark privileged instructions in the tooltip.
2022-09-17 23:06:16 +02:00
Bartosz Taudul
4c086e94e4
Different coloring for jump/call/ret or privileged mnemonics.
2022-09-17 22:59:50 +02:00
Bartosz Taudul
dc31ebfd9c
Use proper list of x64 registers.
2022-09-17 22:36:29 +02:00
Bartosz Taudul
2bd987b783
Use common colors.
2022-09-17 22:14:35 +02:00
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
c27bcc524c
Store syntax colors as 32-bit uints.
2022-09-11 00:46:27 +02:00
Bartosz Taudul
9372d9fb28
Collect asm operation type data.
2022-09-11 00:30:37 +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
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
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
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
Bartosz Taudul
8e713e6366
Limit access to internal methods.
2022-09-03 23:17:57 +02:00
Bartosz Taudul
5cbf06ba31
Only clip timeline item contents.
...
Timeline item header may overflow over other items, e.g. the crash marker is
taller than the header line.
2022-09-03 23:09:23 +02:00
Bartosz Taudul
840709fe46
Push pxns to HeaderExtraContents().
2022-09-03 22:55:54 +02:00