Bartosz Taudul
8d39f91c6e
Save/load executable image mtime.
2021-01-31 17:51:16 +01:00
Bartosz Taudul
6c728f6d23
Cosmetics.
2021-01-31 17:24:41 +01:00
Bartosz Taudul
c08d591bf3
Use proper capstone include path.
2021-01-26 20:35:57 +01:00
Bartosz Taudul
2b3405b9c7
Fix usage of deprecated stat64 on apple.
2021-01-26 20:09:34 +01:00
Bartosz Taudul
81c91a87fc
Search in cache before issuing syscall.
2021-01-26 01:47:00 +01:00
Bartosz Taudul
ccf441176b
Merge pull request #168 from jkriegshauser/improve-import
...
Improve chrome import
2021-01-22 14:57:52 +01:00
joshuakr
c96f01956d
PR feedback: write the name into the tracy file
2021-01-21 18:33:59 -08:00
joshuakr
c5261e42ba
Fix for macOS build
2021-01-21 17:41:55 -08:00
Bartosz Taudul
efc856f842
Fix vertical padding of items in CPU data table.
2021-01-22 02:34:01 +01:00
joshuakr
2920f97911
Imported Chrome traces bring over thread names
2021-01-21 17:26:00 -08:00
joshuakr
25a95d99c0
Imported chrome traces show the file name in the title bar
2021-01-21 17:25:53 -08:00
Bartosz Taudul
239a17deb9
Fix typo.
2021-01-22 02:17:12 +01:00
Bartosz Taudul
e33f8e66d5
Set appropriate flags for CPU data table columns.
2021-01-21 23:26:32 +01:00
Bartosz Taudul
dee6395acf
Update pdqsort.
...
978bc36a9b
2021-01-21 23:26:32 +01:00
Bartosz Taudul
0fc6ebc67d
Another ImGuiTableColumnFlags_WidthAuto fix.
2021-01-21 23:26:32 +01:00
Bartosz Taudul
a4764141c6
Support serial callstacks when processing GPU zones.
2021-01-15 22:11:34 +01:00
Bartosz Taudul
d4c0d4fbb7
Rename CallstackMemory to CallstackSerial.
2021-01-15 20:49:39 +01:00
Bartosz Taudul
c66b2cb536
Process allocated source location GPU zones.
2021-01-15 20:33:45 +01:00
Bartosz Taudul
d827832d4d
Don't operate on short_ptr.
2021-01-15 20:25:07 +01:00
Bartosz Taudul
44020487d2
Keep zone begin implementations together.
2021-01-15 20:20:34 +01:00
Bartosz Taudul
cc5c20db46
Bump ImGui.
2021-01-08 19:33:04 +01:00
Bartosz Taudul
6e715cf346
Use tables for callstack sample parents.
2020-12-16 15:05:35 +01:00
Bartosz Taudul
f1d48b1298
Use tables for call stack view.
2020-12-16 15:01:07 +01:00
Bartosz Taudul
325bcc035a
Use tables to list memory entries.
2020-12-15 15:43:55 +01:00
Bartosz Taudul
6bb77d55a1
Use tables in CPU data view.
2020-12-09 21:53:36 +01:00
Bartosz Taudul
dc6893f419
Use tables for sampled statistics menu.
2020-12-09 21:36:53 +01:00
Bartosz Taudul
63e0170048
Find zones zone list fixes.
2020-12-09 21:18:40 +01:00
Bartosz Taudul
f1a641a838
Use tables for instrumented zones statistics.
2020-12-09 20:55:00 +01:00
Bartosz Taudul
6300f59183
Use tables in find zone zones list.
2020-12-09 02:18:06 +01:00
Bartosz Taudul
c437ecfcf5
Remove unneeded variable.
2020-12-08 19:55:20 +01:00
Bartosz Taudul
a0bae4aa00
Allow hiding columns in some tables.
2020-12-08 19:55:20 +01:00
Bartosz Taudul
b4860bbe4d
Use tables in messages list.
2020-12-08 19:55:20 +01:00
Bartosz Taudul
45078cd99d
Remove table row backgrounds.
2020-12-08 19:55:20 +01:00
Bartosz Taudul
18ac6ee548
Use tables for time distribution.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
34683ceb4d
Use tables in the failure callstack view.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
a0bf2f5605
ImGui::BeginTable() is conditional.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
9a0e7abefa
Use proper identifier.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
c23eb2f7fb
Limit table size to 14 elements.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
d962301124
Use tables for message list in zone info window.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
99c4b9ef5f
Use tables for wait regions.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
a7cdffa736
Use tables for trace parameters.
2020-12-08 19:55:19 +01:00
Bartosz Taudul
3495a5a678
Print Arm machine code as a 4-byte number would be printed.
2020-11-28 13:24:56 +01:00
Ben Vanik
7dfdad2e02
Adding ZoneColor to set a dynamic color override to an existing zone.
2020-11-27 20:12:24 +01:00
Bartosz Taudul
d0acee2a9a
Add missing default no-op to switch.
2020-11-23 22:58:40 +01:00
Bartosz Taudul
34e208368d
Add missing include.
2020-11-23 22:58:12 +01:00
Bartosz Taudul
de69fc9850
Check if plot data values are finite numbers.
2020-11-23 22:48:55 +01:00
Bartosz Taudul
37c9a5807f
Fix statistics image name filter clear button.
2020-11-18 01:30:28 +01:00
Bartosz Taudul
53eacd3dc2
Add lost connection popup.
2020-11-18 01:24:22 +01:00
Bartosz Taudul
78fd523a4b
Don't print "connected to" after disconnection.
2020-11-18 01:24:22 +01:00
Bartosz Taudul
e580dfeed3
Release 0.7.4.
2020-11-15 21:51:34 +01:00
Bartosz Taudul
63e3c236f4
Add Zen 3 to list of uarchs.
2020-11-15 21:29:59 +01:00
Bartosz Taudul
31e20cba68
Add Zen 3 uarch measurements.
2020-11-15 21:23:15 +01:00
Bartosz Taudul
af4c9b7cdc
Draw frame targets.
2020-11-15 16:16:36 +01:00
Bartosz Taudul
8a1d8e4bac
Add frame target UI.
2020-11-15 15:46:23 +01:00
Bartosz Taudul
81dcd2c767
Optional namespace shortening for ghost zones.
2020-11-14 16:23:35 +01:00
Bartosz Taudul
2ac7048248
Support source location dynamic colors for ghost zones.
2020-11-14 16:18:27 +01:00
Bartosz Taudul
2f77885fd9
Show if an matching microarchitecture is selected.
2020-11-13 17:37:53 +01:00
Bartosz Taudul
dcddf8898b
Display memory usage also as a percentage.
2020-11-13 17:22:10 +01:00
Bartosz Taudul
2bf00b5eab
Get available physical memory size in viewer.
2020-11-13 17:09:57 +01:00
Bartosz Taudul
d7059eca63
Prepare for Zen 3.
...
0xA20F10 is Vermeer.
2020-11-07 00:26:45 +01:00
Bartosz Taudul
30b4eafa22
Add Zen 2 CPU ids.
...
0x860F81 is Lucienne.
0x890F00 is VanGogh.
2020-11-07 00:26:00 +01:00
Bartosz Taudul
b36e821cc7
Add cascade lake CPU ids.
2020-11-07 00:20:55 +01:00
Bartosz Taudul
02c90db2e4
Display op description, if available.
2020-11-07 00:16:10 +01:00
Bartosz Taudul
322cc3bf12
Add missing op description list definition.
2020-11-07 00:15:58 +01:00
Bartosz Taudul
a5fd6662be
Add CLX to list of uarchs.
2020-11-07 00:07:20 +01:00
Bartosz Taudul
c08d081f9a
Update uops.info data to 05.11.2020.
2020-11-06 23:59:57 +01:00
Bartosz Taudul
e5967bdc52
Fix context switch + samples offset logic.
2020-11-06 00:20:26 +01:00
Bartosz Taudul
a48d540854
Cache statistics range-limited data.
2020-11-01 16:24:08 +01:00
Bartosz Taudul
87c3796e84
Fix division by zero if no sampling data is present.
2020-11-01 14:45:26 +01:00
Bartosz Taudul
7791654896
Allow copying callstack to clipboard.
2020-10-30 18:27:52 +01:00
Bartosz Taudul
0c48956410
Fix parsing of source files that do not end in newline.
2020-10-28 21:43:03 +01:00
Bartosz Taudul
651cfd5c21
Now apple has to be stupid.
...
Remove this when they get their shit together with parallel execution.
2020-10-28 21:16:26 +01:00
Bartosz Taudul
3976408550
Adapt to non-obsolete ImGuiListClipper interface.
2020-10-18 22:51:59 +02:00
Bartosz Taudul
00c9dd24dc
Use last range mode if no frames are available.
...
If during the first 5 seconds of the trace there are no frames being reported,
the profiler will switch to following last 5 seconds of the trace, instead of
displaying three last frames.
2020-10-06 18:46:36 +02:00
Bartosz Taudul
98e3822c88
C arrays are so much fun!
2020-10-06 14:58:42 +02:00
Bartosz Taudul
c9b64ef5c5
Move list of Tracy stack frames to a separate file.
2020-10-06 14:37:39 +02:00
Bartosz Taudul
e613c458dd
Fix vertical alignment.
2020-10-06 01:38:40 +02:00
Bartosz Taudul
5af7f6ea0b
Add memory pool selector to zone info window.
2020-10-06 01:32:03 +02:00
Bartosz Taudul
07fe1266b0
Fix string iteration condition.
2020-10-02 19:31:42 +02:00
Bartosz Taudul
a2f0f7754d
Fix integer types.
2020-10-02 19:30:01 +02:00
Bartosz Taudul
b6724bec3a
Ports are uint16_t.
2020-10-02 18:51:54 +02:00
Bartosz Taudul
4791b63ef8
Use int64_t for time.
2020-10-02 18:37:15 +02:00
Bartosz Taudul
8aae9a1477
Shut the compiler up about unused helper functions.
2020-10-02 18:33:13 +02:00
Bartosz Taudul
a5e0336936
Add missing server query space updates to failure handling.
2020-09-30 16:48:59 +02:00
Bartosz Taudul
0d209b80f4
Show call stack in failure dialog.
2020-09-30 16:32:34 +02:00
Bartosz Taudul
9d392d2c90
Process call stack frames during failure dispatch.
2020-09-30 15:57:14 +02:00
Bartosz Taudul
641649143c
Make symbol queries optional.
2020-09-30 15:49:29 +02:00
Bartosz Taudul
cecc3783a8
Handle single and second string data in failure dispatch.
2020-09-30 15:46:00 +02:00
Bartosz Taudul
3135191e90
Wait for failure callstack to be received.
2020-09-29 18:40:04 +02:00
Bartosz Taudul
d8e653ecb4
Set memory failure callstack.
2020-09-29 18:40:04 +02:00
Bartosz Taudul
98aaca9597
Default-initialize failure data struct.
2020-09-29 18:40:04 +02:00
Bartosz Taudul
44aef7660d
Don't keep two variables to track one thing.
2020-09-29 17:04:41 +02:00
Bartosz Taudul
d5b6befda2
Handle new callstack ordering on server.
2020-09-29 16:59:28 +02:00
Bartosz Taudul
e3d690df63
Cosmetics.
2020-09-25 18:10:22 +02:00
Bartosz Taudul
4c3dce6712
Preserve separate memory tree state for each pool.
2020-09-25 17:55:43 +02:00
Bartosz Taudul
ae14e7a879
Expose custom memory pools in the UI.
2020-09-25 17:51:05 +02:00
Bartosz Taudul
d238c97452
Save/load custom memory types.
2020-09-25 16:39:00 +02:00
Bartosz Taudul
ba4315c286
Store memory name in MemData struct.
2020-09-25 16:36:03 +02:00
Bartosz Taudul
97e17a8d49
Support custom names for memory plots.
2020-09-24 01:31:24 +02:00
Bartosz Taudul
5a6c8b4696
Process named memory allocations.
2020-09-24 01:31:24 +02:00
Bartosz Taudul
751692eedd
Don't track latest trace events if there's no connection.
2020-09-24 01:31:24 +02:00
Bartosz Taudul
d1ea97b474
Prepare for handling multiple memory areas.
2020-09-24 01:31:23 +02:00
Bartosz Taudul
46f0853f1b
Process memory name payload transfer.
2020-09-24 01:31:23 +02:00
Bartosz Taudul
a9ce4f6454
Cosmetics.
2020-09-24 01:31:23 +02:00
Bartosz Taudul
a668b61320
Allow ignoring custom zone colors.
2020-09-21 02:04:13 +02:00
Bartosz Taudul
5490948567
Release 0.7.2.
2020-09-14 22:55:41 +02:00
Bartosz Taudul
05f0ffd0ed
Add "reconnect" button to connection failure dialogs.
2020-09-12 15:52:21 +02:00
Bartosz Taudul
812f869669
Decouple zoom level from tracking last events.
2020-09-12 15:49:41 +02:00
Bartosz Taudul
75ae14cd04
Use in-place merge to sort symbol data.
2020-09-07 01:47:11 +02:00
Bartosz Taudul
4b97528604
Streamline "waiting for connection" dialog.
2020-09-06 13:54:22 +02:00
Bartosz Taudul
4ac0e7d955
Allow filtering sampling results by image name.
2020-08-21 14:23:23 +02:00
Bartosz Taudul
0f13a02062
Properly terminate symbol inline location data.
...
Previously there was no end value on which iteration would stop in case of
the last-in-the-process-space symbol, which resulted in out-of-bounds read.
Workaround has been added for versions < 0.7.2, but no version bump has been
performed (still at 0.7.1). Having two terminator values at the end of the
list is harmless.
2020-08-20 18:50:20 +02:00
Bartosz Taudul
7cf3b0b004
Workaround issues with sample order.
2020-08-18 21:53:52 +02:00
Bartosz Taudul
5239b706c3
Allow disabling code transfer.
2020-08-16 01:31:54 +02:00
Bartosz Taudul
28af5230d3
Perform OpenGL texture cleanup only on main thread.
2020-08-15 15:02:36 +02:00
Bartosz Taudul
a3d8b5d225
Allow running specific tasks on main thread.
2020-08-15 14:59:16 +02:00
Bartosz Taudul
caa1b1a792
Fix initialization list order.
2020-08-15 02:26:35 +02:00
Bartosz Taudul
f828fed015
Remove unused variables.
2020-08-15 02:23:04 +02:00
Bartosz Taudul
be0e3b9cc4
Silence memcpy/memset warnings.
2020-08-15 02:14:29 +02:00
Bartosz Taudul
833653ce40
Display time stamp when hovering mouse over time scale.
2020-08-14 13:28:34 +02:00
Bartosz Taudul
5e559322a0
Properly check if symbol code is available.
2020-08-14 12:38:56 +02:00
Bartosz Taudul
16eef3f966
Clamp frame image textures to edge.
2020-08-13 18:16:10 +02:00
Bartosz Taudul
321c079205
Fix typo.
2020-08-13 16:56:56 +02:00
Bartosz Taudul
fa7d515165
Display base symbol address in symbol view window.
2020-08-13 16:36:13 +02:00
Bartosz Taudul
b6feb99e98
Show which symbols are available.
2020-08-13 16:24:09 +02:00
Bartosz Taudul
b6d54281a9
Ignore unknown source lines during ip stats gathering.
2020-08-13 00:34:55 +02:00
Bartosz Taudul
8e9a701277
Fix crash when trying to open unavailable source file.
2020-08-12 19:05:16 +02:00
Bartosz Taudul
8cfc614047
Include time range limits in symbol view functions list.
2020-08-11 21:07:23 +02:00
Bartosz Taudul
46163a1989
Implement asm ip stats counter.
2020-08-11 21:07:23 +02:00
Bartosz Taudul
7aa8e408df
Remove unused variable.
2020-08-11 16:02:07 +02:00
Bartosz Taudul
34fa99c7ee
Restrict sample statistics percentages to time range limit.
2020-08-11 15:50:54 +02:00
Bartosz Taudul
b9a810827d
Make instrumented statistics percentages relative to time range.
2020-08-11 15:38:55 +02:00
Bartosz Taudul
6feb017cbe
Also display statistics time range if symbol view is open.
2020-08-10 19:03:32 +02:00
Bartosz Taudul
b9b39f1957
Allow checking if source view is symbol view.
2020-08-10 19:03:23 +02:00
Bartosz Taudul
5dd7c7e402
Add time range limiting to symbol view.
2020-08-10 18:58:33 +02:00
Bartosz Taudul
7a4ecc5417
Store instruction pointers in per-symbol sample data.
2020-08-10 14:52:51 +02:00
Bartosz Taudul
85f54499fe
Add range limit UI to symbol view.
2020-08-10 12:11:07 +02:00
Bartosz Taudul
339ed7cc4d
Fix tooltip stroboscope.
2020-08-09 21:40:06 +02:00
Bartosz Taudul
06ac6f4f24
Build per-symbol samples list during live capture.
2020-08-09 21:04:03 +02:00
Bartosz Taudul
3be0a3f628
Vector is not empty here.
2020-08-09 20:46:44 +02:00
Bartosz Taudul
1650d371e6
Actually set self time option, if required.
2020-08-07 19:43:31 +02:00
Bartosz Taudul
d6aa814de5
Use time limited data for inline stats.
2020-08-07 19:42:18 +02:00
Bartosz Taudul
d151aff237
Allow time limiting sampled call stacks statistics.
2020-08-07 19:26:19 +02:00
Bartosz Taudul
b418c98e63
Add symbol samples accessor.
2020-08-07 19:14:21 +02:00
Bartosz Taudul
aa8b60a824
Calculate per-symbol sample time list.
...
This is for loaded traces. Real time capture will be implemented later.
2020-08-07 19:05:27 +02:00
Bartosz Taudul
87e7cba289
Disable samples limit range until background job is done.
2020-08-07 14:54:00 +02:00
Simon van Bernem
d06617b2a5
Fixed variable name
2020-08-07 10:55:00 +02:00
Simon van Bernem
4e1ed15237
More matching code-style
2020-08-07 10:45:52 +02:00
Simon van Bernem
ab85fba7e0
Matching the braketing style
2020-08-07 10:42:36 +02:00
Simon van Bernem
903b7badc0
next try
2020-08-07 10:39:22 +02:00
Simon van Bernem
e14bb56db1
matching spacing to remove change from original
2020-08-07 10:38:38 +02:00
Simon van Bernem
b826c14e4d
reverted an unnecessary change
2020-08-07 10:37:19 +02:00
Simon van Bernem
3dd80c5288
DrawStripedRect can now draw screen-space stripes
...
Added two parameters to DrawStripedRect: fix_stripes_in_screen_space aligns the stripes to screen space. This leads to the stripes of any stripe rect being drawn aligning. Also added inverted, which flips the empty and filled part of the striped rect. This is used to make statRange and findZone stripes interleave, when they overlap.
2020-08-07 10:24:13 +02:00
Bartosz Taudul
550e05d149
Fix time range limits created by reverse-mouse-drag.
2020-08-07 00:24:22 +02:00
Bartosz Taudul
983aba7a0b
Self time is forced for range limit in sampling stats.
2020-08-06 17:22:47 +02:00
Bartosz Taudul
0a0d04fff6
Add time range limits to instrumentation statistics.
2020-08-06 15:22:10 +02:00
Bartosz Taudul
b68423fc1a
Fix copy pasta.
2020-08-06 15:22:10 +02:00
Bartosz Taudul
71440cc6ee
Use custom data structure for temporary stats data.
2020-08-06 15:22:10 +02:00
Bartosz Taudul
251e8f1fe2
Fix vertical panning.
2020-08-05 17:20:19 +02:00
Bartosz Taudul
c4cf690e39
Display annotation extent on annotations list.
2020-08-04 17:31:33 +02:00
Bartosz Taudul
05c60259b6
Display exact time for annotation begin, end.
2020-08-04 17:26:00 +02:00
Bartosz Taudul
22e86af4ab
Remove redundant tooltip.
2020-08-04 17:24:59 +02:00
Bartosz Taudul
a5c16a39ba
Make annotations resizable.
2020-08-04 17:23:12 +02:00
Bartosz Taudul
f589fba274
Use Range for annotation extent.
2020-08-04 17:14:58 +02:00
Bartosz Taudul
2acc1d9670
Move Range, RangeSlim out of View.
2020-08-04 17:09:17 +02:00
Bartosz Taudul
68e452802b
Allow performing range copies from one to another.
2020-08-04 17:06:24 +02:00
Bartosz Taudul
85e8a6a81c
Add icons to range limits window entries.
2020-08-04 17:06:24 +02:00
Bartosz Taudul
67e86d2b27
Add context menus to ghost zones.
2020-08-04 17:06:24 +02:00
Bartosz Taudul
bd51add4f1
Display zone range popup area.
2020-08-04 17:06:24 +02:00
Bartosz Taudul
321fa06a3d
Merge adding annotations and setting range limits.
2020-08-04 16:40:35 +02:00
Bartosz Taudul
79fc917483
Hook-up statistics time range logic.
2020-08-04 14:31:53 +02:00
Bartosz Taudul
7fe1560ca5
Change find zone limit range color to green.
2020-08-04 14:23:37 +02:00
Bartosz Taudul
1e526cfc09
Extract range entry drawing.
2020-08-04 14:20:35 +02:00
Bartosz Taudul
9449f3ef89
Add time range limit UI to statistics menu.
2020-08-04 14:15:28 +02:00
Bartosz Taudul
a23f58cc8f
Add spacing in find zone menu.
2020-08-04 14:13:12 +02:00
Bartosz Taudul
ed01a3e4e0
Extract common filtering UI logic.
2020-08-04 14:09:59 +02:00
Bartosz Taudul
21589a238b
Reduce size of statistics menu controls.
2020-08-04 14:06:32 +02:00
Bartosz Taudul
2f94b44a6c
Move filter UI to a separate line in statistics menu.
2020-08-03 17:08:47 +02:00
Bartosz Taudul
9b1573d803
Add limits button to find zone menu.
2020-08-03 16:07:38 +02:00
Bartosz Taudul
02aae23a98
Move limits button to tools submenu.
2020-08-03 16:07:28 +02:00
Bartosz Taudul
498781b5bf
Clear potential click after mouse button is released.
2020-08-01 13:01:04 +02:00
Bartosz Taudul
734b0c25d9
Fix typo.
2020-08-01 12:55:49 +02:00
Bartosz Taudul
7d34350bf3
Drag delta (accumulated) shouldn't be consumed.
2020-08-01 12:36:52 +02:00
Bartosz Taudul
b33445c073
Open context menus without ctrl key.
2020-08-01 12:35:30 +02:00
Bartosz Taudul
b4021d7d79
Add mouse click vs drag logic.
2020-08-01 12:35:15 +02:00
Bartosz Taudul
4da8385300
Range overlay resize has priority over other mouse interactions.
2020-08-01 12:11:06 +02:00
Bartosz Taudul
22651eccc5
Implement consumption of mouse events.
2020-08-01 12:10:59 +02:00
Bartosz Taudul
6d0d12ce78
Remove unneeded parameter.
2020-08-01 12:03:11 +02:00
Bartosz Taudul
6836014caa
Capture ImGui mouse state.
2020-08-01 12:02:11 +02:00
Bartosz Taudul
39197b9ff8
Use mouse wrappers.
2020-08-01 11:53:11 +02:00
Bartosz Taudul
733b9c4048
Add wrapper for ImGui mouse handling.
2020-08-01 11:49:43 +02:00
Bartosz Taudul
dbcc908dee
Fix initialization.
2020-07-31 18:10:03 +02:00
Bartosz Taudul
19246a027f
Allow limiting find zone time range to zone extent.
2020-07-31 18:01:07 +02:00
Bartosz Taudul
efc9c7c58f
Add color key for find zone time range.
2020-07-31 17:57:54 +02:00
Bartosz Taudul
65e00eb2d4
Show time limit overlay if range window is open.
2020-07-31 17:54:46 +02:00
Bartosz Taudul
2bce9319d0
Allow focusing to find zone time range.
2020-07-31 17:51:47 +02:00
Bartosz Taudul
1215eb4de5
Allow limiting find zone time range to a frame.
2020-07-31 17:50:12 +02:00
Bartosz Taudul
8091207d26
Add time limit ranges window.
2020-07-31 16:37:47 +02:00
Bartosz Taudul
9633617810
Don't change time range limit when enabling it.
2020-07-31 16:19:35 +02:00
Bartosz Taudul
0d2914bbe8
Display thumbnail of current frame image in connection popup.
2020-07-30 01:58:08 +02:00
Bartosz Taudul
f367b16dc0
Add missing operator.
2020-07-29 19:13:10 +02:00
Bartosz Taudul
7f90a0a84e
Proper test for hovering mouse over the timeline.
2020-07-29 19:03:54 +02:00
Bartosz Taudul
e406ce5aab
Fix typo.
2020-07-29 19:00:37 +02:00
Bartosz Taudul
5aff4b0f50
Set proper mouse cursor on range boundaries.
2020-07-29 18:54:10 +02:00
Bartosz Taudul
58428e7ede
Dynamically adapt find zone results to range limit.
2020-07-29 18:48:49 +02:00
Bartosz Taudul
c1bf853310
Drag range boundary to change its span.
2020-07-29 18:42:53 +02:00
Bartosz Taudul
2f5f2e5b1d
Add range boundary highlight.
2020-07-29 18:42:52 +02:00
Bartosz Taudul
ff5daf9df7
Proper handling of mouse over timeline view.
...
This fixes:
- Dead zones between header, frame sets and the rest of timeline
display.
- One-frame frame set position lag when panning the view with mouse over
zones region of timeline.
2020-07-29 17:52:51 +02:00
Bartosz Taudul
f37a324a9e
Add annotation removal button hint.
2020-07-29 17:07:40 +02:00
Bartosz Taudul
29fe5f211f
Warn when range limiting is enabled.
2020-07-29 15:45:50 +02:00
Bartosz Taudul
3e3f8aaabf
Enable linear filtering for frame images.
2020-07-29 13:31:26 +02:00
Bartosz Taudul
25ee7f945b
Draw limit region with striped rect.
2020-07-29 13:26:47 +02:00
Bartosz Taudul
d8728be689
Striped rect drawing.
2020-07-29 13:18:23 +02:00
Bartosz Taudul
fd5ccc16d6
Extract find zone range data to a separate struct.
2020-07-28 15:12:45 +02:00
Bartosz Taudul
7e6a41e647
No need for lean alloc srcloc zone begin messages.
2020-07-26 14:35:04 +02:00
Bartosz Taudul
062bb3044f
No need for lean callstack sample message.
2020-07-26 14:28:13 +02:00
Bartosz Taudul
4252cac654
No need for lean callstack alloc message.
2020-07-26 14:25:32 +02:00
Bartosz Taudul
18713de70c
No need for lean frame image message.
2020-07-26 14:23:04 +02:00
Bartosz Taudul
b76726c597
No need for lean callstack, callstack memory messages.
2020-07-26 14:23:03 +02:00
Bartosz Taudul
14a15bf152
Order of lock events is now always well-defined.
2020-07-26 13:54:40 +02:00
Bartosz Taudul
03f46d7228
Custom string data is no longer needed.
2020-07-26 01:47:49 +02:00
Bartosz Taudul
c0b73c248f
Add second single string transfer.
2020-07-26 01:47:49 +02:00
Bartosz Taudul
a7d2ab4d4f
Send single string for lock name.
2020-07-26 01:47:49 +02:00
Bartosz Taudul
e91950f006
Send single string for messages.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
5553761c02
Send single string for zone text and name.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
309a151610
Symbol length no longer has to be packed.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
88685440b6
Send single string for callstack frame.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
61e3acde06
Send single string for callstack frame size.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
e3dfa96055
Extract single string idx retrieval.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
06ca4e2d16
Send single string for symbol information.
2020-07-26 01:35:52 +02:00
Bartosz Taudul
14b180cd16
Send single string for code information.
2020-07-26 01:35:51 +02:00
Bartosz Taudul
81d5a8db5e
Implement transport of single string data.
...
In most cases only one string is sent per message and no pointer
tracking is needed.
This is only plumbing work, no changes to messages have been made yet.
2020-07-26 01:35:51 +02:00
Bartosz Taudul
6fe3736a23
When selecting function in symbol view, go to function location.
2020-07-19 23:43:52 +02:00
Bartosz Taudul
0704ab8f79
Clear frame image back references when removing fi data.
2020-07-17 22:16:47 +02:00
Bartosz Taudul
d614dbeda3
Show image name next to symbol name.
2020-07-14 17:23:04 +02:00
Bartosz Taudul
1da51918b6
Append new messages to visible message list.
2020-07-13 02:03:00 +02:00
Bartosz Taudul
420bdd5854
Don't recalculate message list every frame.
2020-07-12 15:26:05 +02:00
Bartosz Taudul
29ac0169aa
Use clipper to display messages list.
2020-07-12 15:13:03 +02:00
Bartosz Taudul
333e10c724
Move message line drawing to a separate function.
2020-07-12 15:07:43 +02:00
Bartosz Taudul
f2d6c79742
Don't wrap messages.
2020-07-12 15:00:56 +02:00
Bartosz Taudul
953df69b77
Build a list of messages to display.
2020-07-12 14:54:22 +02:00
Bartosz Taudul
863f37e1bc
Remove dedicated "go to frame" button.
2020-07-12 00:18:44 +02:00
Bartosz Taudul
a7a36c08cb
Fix frame number formatting.
2020-07-12 00:04:05 +02:00
Bartosz Taudul
39debea990
Middle-click on time span sets the view range to entire capture.
2020-07-11 14:11:13 +02:00
Bartosz Taudul
0f9597aee8
Display frame number, if there's space for it.
2020-07-11 14:05:08 +02:00
Bartosz Taudul
e48b5611c5
Save GPU context calibration state.
2020-07-07 21:25:35 +02:00
Bartosz Taudul
a3c51f0e7e
Don't show drift adjustment for calibrated GPU contexts.
2020-07-07 21:25:35 +02:00
Bartosz Taudul
21f4981f38
Process GPU calibration on server.
2020-07-07 21:25:35 +02:00
Bartosz Taudul
1b6bc1b69a
Send Vulkan GPU calibration messages.
2020-07-07 21:25:35 +02:00
Bartosz Taudul
1013ec8db7
Drop accuracy bits from GPU context.
2020-07-07 01:21:36 +02:00
Bartosz Taudul
384e2e3fa1
Reduce memory requirements of allocated call stacks.
2020-07-05 17:33:29 +02:00
Bartosz Taudul
6fe90e136f
Bump xxh3 to fix AVX512 problems.
2020-07-05 11:29:06 +02:00
Bartosz Taudul
925bf7e638
Implement grouping zones by zone name.
2020-07-04 12:36:04 +02:00
Bartosz Taudul
435fb4bb4f
Add copy-to-clipboard buttons to zone info windows.
2020-07-04 11:59:25 +02:00
Bartosz Taudul
1bfd59c595
Add a wrapper function for drawing clipboard button.
2020-07-04 11:56:56 +02:00
Bartosz Taudul
763f5aafdd
Attach pending frame images only to the main frame set.
2020-06-30 00:53:26 +02:00
Bartosz Taudul
afbd6b8786
Fix frame histogram when changing frame set in trace info window.
2020-06-27 21:51:50 +02:00
Bartosz Taudul
c7d94a66b0
Bump xxh3 to 0.7.4.
2020-06-27 17:01:31 +02:00
Bartosz Taudul
e9788cc04c
Bump robin_hood to 3.7.0.
2020-06-26 00:51:03 +02:00
Dmitry Ivanov
9fa80c2cc8
Import chrome metrics
2020-06-21 13:45:41 +02:00
Bartosz Taudul
d1e17de7c2
Allow import of plots.
2020-06-20 15:30:06 +02:00
Bartosz Taudul
2b5e45cd9b
Fix edge case in directory structure creation.
2020-06-19 17:17:26 +02:00
Bartosz Taudul
11e1671048
Use proper string formatting.
2020-06-18 01:32:53 +02:00
Bartosz Taudul
b0d71b648f
Allow listing cached source files.
2020-06-17 18:26:23 +02:00
Bartosz Taudul
c507507233
Fix gcc/clang.
2020-06-16 20:14:59 +02:00
Bartosz Taudul
47dfddedfd
Use tzcnt instead of bsf.
2020-06-16 18:19:05 +02:00
Bartosz Taudul
7a6141389c
Replace floating point condition with a bool.
2020-06-16 01:46:26 +02:00
Bartosz Taudul
dd05c8f524
Fix fixup of ghost zones end times.
2020-06-15 17:41:00 +02:00
Bartosz Taudul
71359c46c1
Drop support for loading pre-0.6.0 traces.
2020-06-14 15:52:52 +02:00
Bartosz Taudul
21ddd0a820
Postpone initialization of hashmaps.
2020-06-12 11:26:44 +02:00
Bartosz Taudul
cbcf393332
Release 0.7.0.
2020-06-11 14:30:34 +02:00
Bartosz Taudul
3992eb0542
Move RDO threshold logic to tables.
2020-06-11 14:09:19 +02:00
Bartosz Taudul
2ab605d232
Use dedicated max-of-three-elements function.
2020-06-11 13:45:04 +02:00
Bartosz Taudul
2608ceca05
Improve memory access patterns in RDO compression.
2020-06-11 13:36:17 +02:00
Bartosz Taudul
2723144678
Don't create empty ghost children vectors.
2020-06-11 12:27:17 +02:00
Bartosz Taudul
99544f4655
Clamp previous ghost zones to current sample time.
2020-06-11 12:18:44 +02:00
Bartosz Taudul
191ff93822
Optimize DXT1 index order fixing.
2020-06-11 03:04:09 +02:00
Bartosz Taudul
d1ef8ea90b
Set owner of file dialogs on windows.
2020-06-10 01:52:17 +02:00
Bartosz Taudul
e932cbe162
Add missing OpenCL mentions.
2020-06-09 18:17:43 +02:00
Bartosz Taudul
8bbc40beb2
Bump version, protocol for D3D12.
2020-06-09 11:20:50 +02:00
Andrew Depke
39479b8d93
Merge branch 'master' into master
2020-06-08 23:50:20 -06:00
Bartosz Taudul
929d399995
Fix determination of line width.
2020-06-08 14:02:11 +02:00
Andrew Depke
3282a8d27c
Added server support for D3D12 contexts
2020-06-07 00:40:08 -06:00
Bartosz Taudul
c384ec132f
Fix position of source separator line.
2020-06-06 20:50:24 +02:00
Bartosz Taudul
9c49ee3dd3
Don't mark windows as write-modified when only reading data.
2020-06-06 20:46:46 +02:00
Bartosz Taudul
d35d9b60ff
Bump protocol and version for OpenCL support.
2020-06-06 14:57:48 +02:00
Bartosz Taudul
57f1ef05c7
Merge pull request #31 from mcleary/opencl-support
...
Add OpenCL trace support
2020-06-06 14:56:29 +02:00
Bartosz Taudul
ecfeb01aad
Set source view content width to max value, regardless of clipping.
2020-06-06 12:37:05 +02:00
Bartosz Taudul
a3a7183293
Disable inclusion of non-windows in ctrl-tab list.
2020-06-05 19:23:27 +02:00
Bartosz Taudul
16b116ee83
Enable horizontal scrollbar in source view.
2020-06-05 19:04:12 +02:00
Thales Sabino
a46f83364e
Add OpenCL trace support
...
- Adds the file TracyOpenCL.hpp which contains the API to annotate OpenCL applications
- It works in a similar fashion to the Vulkan annotations
- Adds an example OpenCL application in examples/OpenCLVectorAdd
- Adds "OpenCL Context" to the UI
- Manual entry for annotating OpenCL zones
2020-06-05 10:15:47 +01:00
Bartosz Taudul
71d789063e
Show only relevant options in asm view.
2020-06-04 19:59:13 +02:00
Bartosz Taudul
3fbc2c8036
Increase buffer size.
2020-06-04 19:54:11 +02:00
Bartosz Taudul
e19a981b8c
Fix display of unknown source locations in asm view.
2020-06-04 19:39:43 +02:00
Bartosz Taudul
ce2e01bcd7
Skip processing uarch data if AT&T mode is enabled.
2020-06-04 19:30:44 +02:00
Bartosz Taudul
adc2c12a67
Clear asm data when opening just source view.
2020-06-04 19:20:24 +02:00
Bartosz Taudul
c52936855e
Don't read beyond buffer end.
2020-06-04 02:46:46 +02:00
Bartosz Taudul
917da8cff3
Properly terminate combo table.
2020-06-04 02:41:45 +02:00
Bartosz Taudul
f227bb4d9c
Update instruction tables to "may 2020".
2020-06-03 21:17:52 +02:00
Bartosz Taudul
9e500bc897
Handle merging inlined ghost zones.
2020-05-31 21:47:52 +02:00
Bartosz Taudul
994b88f898
Ghost index is only available is statistics are enabled.
2020-05-31 15:24:11 +02:00
Bartosz Taudul
067189c355
Extract ghost zone adding to a separate function.
2020-05-31 14:51:33 +02:00
Bartosz Taudul
d9e97ce772
Add postponed ghost zones when frame data becomes available.
2020-05-31 14:31:39 +02:00
Bartosz Taudul
1154343a20
Don't add ghost zones if full callstack data isn't available.
2020-05-31 14:17:54 +02:00
Bartosz Taudul
de5f8df9d3
UpdateSampleStatistics() returns if all samples were processed.
...
This effectively is a check if all frames in a callstack are available.
2020-05-31 14:05:16 +02:00
Bartosz Taudul
7ce915c4f6
Allow display of symbol address in statistics view.
2020-05-30 15:39:34 +02:00
Bartosz Taudul
5955efabb0
Use combo box for smart/entry/sample location selection.
2020-05-30 15:39:34 +02:00
jmanc3
e22ece8e79
Added support for horizontal scrolling.
2020-05-27 21:11:49 -05:00
Bartosz Taudul
54a029356d
Explicitly store GPU context type.
2020-05-27 18:16:53 +02:00
Bartosz Taudul
4f3934ae6a
Use correct symbol address.
2020-05-26 02:08:30 +02:00
Bartosz Taudul
898a10ef82
Display base function is symbol as '[ - self - ]'.
2020-05-25 21:42:01 +02:00
Bartosz Taudul
bdba77c0f5
Allow displaying self zone time in frames overview.
2020-05-25 01:15:06 +02:00
Bartosz Taudul
74a79a6921
Add zone child time getter with clamping to time range.
2020-05-25 01:14:44 +02:00
Bartosz Taudul
7ceb4005cd
Don't use alloca in inlined functions inside a loop.
2020-05-24 16:17:54 +02:00
Bartosz Taudul
2b304581cf
Implement transfer of integral values for zones.
2020-05-24 16:13:09 +02:00
Bartosz Taudul
45a9878193
Don't depend on zero-termination of source code.
2020-05-23 17:07:23 +02:00
Bartosz Taudul
d3b60f913d
Extend "first frame" time.
2020-05-23 16:52:58 +02:00
Bartosz Taudul
0b900c0a3c
Add crash popup.
2020-05-23 16:40:15 +02:00
Bartosz Taudul
18b2e3e5be
Don't depend on View in Worker.
2020-05-23 15:53:58 +02:00
Bartosz Taudul
2f35c785ee
Save/load cached source files.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
5b96809f6f
Add notification when source file is loaded from cache.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
dc0f2db3f2
CheckString() doesn't check if string query is still pending.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
ee22cf3b0c
Use cached source files.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
d470202bca
Cached source files accessor.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
964d65fd3b
Cache callstack/symbol/code source files.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
f7341141cf
Cache zone source location source files.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
97a5957adc
Display source file cache stats.
2020-05-23 15:44:19 +02:00
Bartosz Taudul
ae1155852a
Source file cache plumbing.
2020-05-23 15:44:18 +02:00
Bartosz Taudul
f38464cf55
Rename SymbolCodeData to MemoryBlock.
2020-05-23 14:54:16 +02:00
Bartosz Taudul
d052e4c79d
Substitution-less source file validator.
2020-05-23 14:54:16 +02:00
Bartosz Taudul
fa2559b3f0
Add StringRef hasher, comparator.
2020-05-23 14:54:16 +02:00
Bartosz Taudul
670a292416
Report whether string is available, or if a query was dispatched.
2020-05-23 13:08:57 +02:00
Bartosz Taudul
619523b43e
Symbol might not have ip statistics.
2020-05-21 19:20:20 +02:00
Bartosz Taudul
e9c13b254b
Get exclusive samples count for a proper symbol.
...
If inlines are grouped under a base symbol, the base symbol data
includes all the inline sample counts. This was interfering with control
logic determining if sample parents window can be displayed.
2020-05-19 19:10:40 +02:00
Bartosz Taudul
e376866436
Check for exclusive samples in inlined symbols list.
2020-05-19 19:06:01 +02:00
Bartosz Taudul
883264c0df
Fix typo.
2020-05-18 18:25:49 +02:00
Bartosz Taudul
f9ff6f4161
Clamping is not needed.
2020-05-15 02:30:52 +02:00
Bartosz Taudul
f6663b187a
Add ghost zone label to ghost zone tooltips.
2020-05-15 02:27:48 +02:00
Bartosz Taudul
ad3cac8578
Incorporate thread colors in ghost zones.
2020-05-15 02:25:28 +02:00
Bartosz Taudul
23de7cb294
Improve source file tooltip.
2020-05-15 01:39:14 +02:00
Bartosz Taudul
03c3a3e7c7
Select proper operand for LEA processing in AT&T mode.
2020-05-15 01:37:08 +02:00
Bartosz Taudul
992fba7e07
Move profiler FPS display to upper-right corner.
2020-05-14 17:53:46 +02:00
Bartosz Taudul
ba9b35dc3b
Don't memcpy to nullptr.
2020-05-14 17:38:48 +02:00
Bartosz Taudul
c8ff8540f9
Sleep when connection attempt fails.
2020-05-14 02:27:57 +02:00
Bartosz Taudul
7ea9c4baf2
Proper locking for queue/in-flight queries.
2020-05-13 18:52:20 +02:00
Bartosz Taudul
7d57a2ea6d
Cast to correct type.
2020-05-13 18:38:40 +02:00
Bartosz Taudul
3f3378e13a
Fix typo.
2020-05-13 18:37:37 +02:00
Bartosz Taudul
8e11cd5ebb
Add support for custom text in ImportEventTimeline.
2020-05-12 11:44:36 +02:00
Bartosz Taudul
1c8aece53c
No saving if there's no file selector.
2020-05-11 22:13:07 +02:00
Bartosz Taudul
e330b96b3d
Allow saving only lines within jump range.
2020-05-11 21:59:45 +02:00
Bartosz Taudul
0790e92cad
Support saving asm range.
2020-05-11 21:12:43 +02:00
Bartosz Taudul
9d5d116014
Extract asm saving to a separate function.
2020-05-11 21:08:50 +02:00
Dmitry Ivanov
8f509dd41a
Make TracySourceView.cpp build with somewhat old clang
...
This was the only issue preventing build on macOS High Sierra with whatever version of clang it has.
2020-05-11 16:23:50 +02:00
Bartosz Taudul
dafecf2a19
Allow enumerating asm lines from a given base instruction.
2020-05-11 13:35:49 +02:00
Bartosz Taudul
8a7913c095
Update xxh3 to master @ ea9c098e93.
2020-05-11 02:33:12 +02:00
Bartosz Taudul
e9f93f5bc7
Send lean frame images.
2020-05-10 20:16:08 +02:00
Bartosz Taudul
03b5dfacd6
Send lean callstack samples.
2020-05-10 20:00:51 +02:00
Bartosz Taudul
09388f3c99
Send lean callstack allocs.
2020-05-10 19:56:36 +02:00
Bartosz Taudul
5a774c82cc
Send lean callstacks.
2020-05-10 19:43:12 +02:00
Bartosz Taudul
f0ade07be8
Send lean memory callstacks.
2020-05-10 19:28:08 +02:00
Bartosz Taudul
2dc07fca0b
Send lean allocated source locations.
2020-05-10 19:20:59 +02:00
Bartosz Taudul
50c66174dd
Add ability to show callstack to an asm line.
2020-05-10 16:56:38 +02:00
Bartosz Taudul
2f8e817e16
Make PackPointer() part of worker's interface.
2020-05-10 16:56:13 +02:00
Bartosz Taudul
d84495d0e1
Mark inline symbols.
2020-05-10 16:13:19 +02:00
Bartosz Taudul
fdd50840a7
Add a function for showing sample parents.
2020-05-10 16:07:45 +02:00
Bartosz Taudul
dee808dd1b
Display jump labels in the UI.
2020-05-09 15:14:33 +02:00
Bartosz Taudul
2543bb5e63
Shorter jump labels.
2020-05-09 15:14:25 +02:00
Bartosz Taudul
0de39a1d33
Construct location table during disassembly.
2020-05-09 14:58:06 +02:00
Bartosz Taudul
8cbd209ede
Display number of selected lines.
2020-05-09 13:53:11 +02:00
Bartosz Taudul
8caf6b02c6
Allow switching between Intel and AT&T assembly syntax.
2020-05-09 12:58:09 +02:00
Bartosz Taudul
ad4387a0c0
Implement saving disassembly to a file.
2020-05-09 02:37:18 +02:00
Bartosz Taudul
8b56dd5468
Prevent division by zero.
2020-05-08 01:55:03 +02:00
Bartosz Taudul
70818b49b9
Force connection popup boolean should decay.
2020-05-08 01:49:15 +02:00
Bartosz Taudul
5b29e65bc5
Initial value of DecayValue might be active.
2020-05-08 01:48:37 +02:00
Bartosz Taudul
2da6c6b6f5
Fix enforced connection popup position wrt viewports.
2020-05-07 15:27:11 +02:00
Bartosz Taudul
2ca6b6f2fe
Implement display of grouped instruction pointer statistics.
2020-05-07 02:33:37 +02:00
Bartosz Taudul
15454d2253
Select microarchitecture basing on cpuid.
2020-05-07 00:53:31 +02:00
Bartosz Taudul
eab3adfa1d
Display CPU info.
2020-05-06 19:18:17 +02:00
Bartosz Taudul
6fda74e281
Save/load cpu id.
2020-05-06 19:18:17 +02:00
Rokas Kupstys
e40f0c4f2e
Fix MinGW build.
2020-05-05 13:23:46 +03:00
ikrima
1b5879e176
ImGui Multiviewport fixes
...
- set ImGuiConfigFlags_ViewportsEnable
- correct render loop logic with viewport api calls, SetNextWindowViewport(), UpdatePlatformWindows(), RenderPlatformWindowsDefault()
- Fix: coords in abs space now, SetNextWindowPos()
NOTE:
- I have viewports turned on by default so you can easy test (comment out io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; and you get old behavior)
- Jankiness with multiviewports isn't bc perf hit; it's bc profiler reduces it's tick rate when it's not in focus. So, that bit of logic needs to be updated if you really care
- I haven't encountered any issues over past week but discount that by 50% since i'm new to tracy. No promises some UI wasn't regresssed
- Key things to watch out for is enabling viewports turns ImGui into using absolute monitor coords instead of window coords (ie SetPosition(0,0) => monitor top left, not window top/left
2020-05-04 02:17:15 -07:00
Bartosz Taudul
74e55f584c
Small toggle button.
2020-05-03 20:49:21 +02:00
Bartosz Taudul
d99129f0e4
Move ToggleButton() out of TracyView.cpp.
2020-05-03 20:40:53 +02:00
Bartosz Taudul
88b2b04b0d
Display running threads in CPU usage tooltip.
2020-05-03 14:34:22 +02:00
Bartosz Taudul
fb801fa484
Extract time value at mouse cursor to a variable.
2020-05-03 14:34:05 +02:00
Bartosz Taudul
9d94cdbb52
Parametrize color highlighting.
2020-05-03 14:33:47 +02:00
Bartosz Taudul
3aed0ba150
Unformatted colored text printing with uint32 color.
2020-05-03 14:33:11 +02:00
Bartosz Taudul
b69bf49082
Separate thread context data getter.
2020-05-03 14:21:27 +02:00
Bartosz Taudul
222d3d661e
Change "go to frame" window to popup.
2020-05-03 13:54:37 +02:00
Bartosz Taudul
d4e490f47e
Keep frames graph at the top of the window (not in dock space).
2020-05-03 13:30:05 +02:00
Bartosz Taudul
bb043f96ee
Use internal NoTabBar flag for central node.
2020-05-03 13:29:51 +02:00
Bartosz Taudul
e3acb635a3
Tune up work area window padding.
2020-05-03 13:27:58 +02:00
Bartosz Taudul
32aa23822b
Disable docking in central node.
2020-05-03 13:23:48 +02:00
Bartosz Taudul
3350a78cd8
Put work area in center docking node.
2020-05-03 13:23:26 +02:00
Bartosz Taudul
73fda0b188
Disable docking in the main window.
2020-05-03 13:21:34 +02:00
Bartosz Taudul
e7e3d1105c
Register usage is only available in capstone 4.x.
2020-05-02 03:09:16 +02:00
Bartosz Taudul
2e75990b6c
Fix wrong indent.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
e132849fe2
Don't highlight lines with no dependencies.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
95c9259193
Draw register dependency decorations on scroll bar.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
50a5cce985
Reduce search range.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
0fdb5e6592
Calculate register dependency data.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
93f255e95b
Invalidate asm line selection when disassembly is performed.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
654dc2b901
Detect conditional jumps.
2020-05-02 02:34:15 +02:00
Bartosz Taudul
4390aa1015
Print register data in asm lines.
2020-05-01 22:39:54 +02:00
Bartosz Taudul
f4b06ed1fc
Register line selection.
2020-05-01 20:35:09 +02:00
Bartosz Taudul
8b2b2f650f
Add space for register data in each asm line.
2020-05-01 20:35:09 +02:00
Bartosz Taudul
bb4b08e8cf
Don't display operands, if none.
2020-05-01 16:15:33 +02:00
Bartosz Taudul
47b8f052bd
Include flags register.
2020-05-01 16:14:27 +02:00
Bartosz Taudul
611bfe49df
Display list of read and write registers.
2020-05-01 13:20:19 +02:00
Bartosz Taudul
8014fce6e1
Store list of read and write registers for each asm instruction.
2020-05-01 13:01:47 +02:00
Bartosz Taudul
38116b88a5
Create x86 common register mapping table.
2020-05-01 13:01:47 +02:00
Bartosz Taudul
b74caae685
Handle ending a zone twice.
2020-04-30 19:05:13 +02:00
Bartosz Taudul
a40ba8f4e9
Switch query queue icon to satellite dish.
2020-04-30 18:41:08 +02:00
Bartosz Taudul
035bb2236d
Always preserve order of queries.
2020-04-30 02:25:25 +02:00
Bartosz Taudul
8fa0a4dc9e
Update mbps data block after terminating connection.
2020-04-29 02:36:38 +02:00
Bartosz Taudul
2175fa6701
Shorten labels.
2020-04-27 19:21:32 +02:00
Bartosz Taudul
83d6566020
Optional visualization of uarch latency.
2020-04-27 19:21:32 +02:00
Bartosz Taudul
d6e633edd0
Fix typo.
2020-04-27 16:10:43 +02:00
Bartosz Taudul
adc60bf394
Separate uarch data retrieval from tooltip display.
2020-04-27 15:31:32 +02:00
Bartosz Taudul
abd00e28b8
Hackish support for LEA variants.
2020-04-27 00:59:49 +02:00
Bartosz Taudul
70605fc8ed
Workaround issues with operand width mismatch.
2020-04-27 00:59:49 +02:00
Bartosz Taudul
5da60b53d0
Add micro architecture tooltips.
2020-04-27 00:59:49 +02:00
Bartosz Taudul
800f740fd5
Add micro architecture data.
2020-04-27 00:59:49 +02:00
Bartosz Taudul
f43755625c
Add uarch selection UI.
2020-04-26 15:00:40 +02:00
Bartosz Taudul
6266d482ae
Be explicit about displaying machine code.
2020-04-26 14:51:58 +02:00
Bartosz Taudul
dba594a857
Store CPU architecture.
2020-04-26 14:23:16 +02:00
Bartosz Taudul
5ae2c415b7
Draw a line indicating zeroth column of source code.
2020-04-25 13:52:21 +02:00
Bartosz Taudul
6b831173e4
Don't display asm counts if no asm available.
2020-04-25 13:51:58 +02:00
Bartosz Taudul
78a56640c3
Open connection popup when a connection is established.
2020-04-25 13:14:27 +02:00
Bartosz Taudul
368caddd00
Separate coloring for types and special values.
2020-04-25 01:01:10 +02:00
Bartosz Taudul
51659ed123
Enable syntax highlighting.
2020-04-25 00:21:15 +02:00
Bartosz Taudul
21506386c4
Allow specification of end address in TextColoredUnformatted.
2020-04-25 00:21:15 +02:00
Bartosz Taudul
3e583b1373
Add C++ tokenizer.
2020-04-25 00:21:15 +02:00
Bartosz Taudul
c87c464f23
Use proper symbol address.
2020-04-24 16:16:53 +02:00
Bartosz Taudul
747f26ef74
Display used CPUs as range, if possible.
2020-04-24 02:02:16 +02:00
Bartosz Taudul
170aeea864
Remove CPU topology tooltip from zone info window.
2020-04-24 01:44:25 +02:00
Bartosz Taudul
9a77a59cb2
Display sample percentage columns only if there's data.
2020-04-24 00:49:38 +02:00
Bartosz Taudul
865593146a
Fix skipping symbol code.
2020-04-19 23:34:34 +02:00
Bartosz Taudul
e48095062b
Allow displaying machine code bytes in disassembly.
2020-04-19 16:07:24 +02:00
Bartosz Taudul
afb9bdce86
Store instruction lengths.
2020-04-19 16:07:24 +02:00
Bartosz Taudul
421f0895b7
Filter invalid jumps.
2020-04-19 16:07:24 +02:00
Bartosz Taudul
ea00efa857
Display disassembly failure notification.
2020-04-19 16:07:24 +02:00
Bartosz Taudul
b157d4c161
Detect disassembly failures.
2020-04-19 14:40:36 +02:00
Bartosz Taudul
c78e11872c
Fix jump arrow mouse hover detection.
2020-04-19 14:28:59 +02:00
Bartosz Taudul
1f3b6d01ab
Cosmetics.
2020-04-19 14:10:26 +02:00
Bartosz Taudul
91ad77d86a
Save/load source substitutions.
2020-04-18 14:25:04 +02:00
Bartosz Taudul
7a6bc6f554
Substitute source file names in source view.
2020-04-17 19:28:39 +02:00
Bartosz Taudul
01d7fefe52
Perform source file name substitution.
2020-04-17 19:28:39 +02:00
Bartosz Taudul
47cfb4ae35
Expose source substitution interface.
2020-04-17 19:28:39 +02:00
Bartosz Taudul
5f22e35c26
Add UI for source location substitutions.
2020-04-17 19:28:39 +02:00
Bartosz Taudul
b937ad101f
Fix handling of ImGui ID stack.
2020-04-17 19:28:39 +02:00
Bartosz Taudul
c79c052528
Display percentage numbers of sample composition times.
2020-04-17 19:28:38 +02:00
Bartosz Taudul
db9557fc84
Use separate texture compression context for saving traces.
2020-04-14 20:07:30 +02:00
Bartosz Taudul
c2dd3913d7
Cleanup context switch data.
2020-04-14 02:34:28 +02:00
Bartosz Taudul
9fc76990e1
Copy proper amount of memory.
2020-04-14 02:22:48 +02:00
Bartosz Taudul
366153a94f
No signed left shifts.
2020-04-14 02:22:48 +02:00
Bartosz Taudul
c54dc10464
Cleanup zone children vectors.
2020-04-14 02:22:47 +02:00
Bartosz Taudul
55f582faaf
Use correct print format specifier.
2020-04-14 02:22:47 +02:00
Bartosz Taudul
dd0fb49098
Fix typo.
2020-04-14 02:22:47 +02:00
Bartosz Taudul
b0a58d4664
Don't shift left negative values.
2020-04-14 02:22:47 +02:00
Bartosz Taudul
5233f8d4ad
Mark source lines which generated assembly.
2020-04-13 17:47:41 +02:00
Bartosz Taudul
2d25e969e9
Fix time span indicators visual jitter.
2020-04-13 15:00:54 +02:00
Bartosz Taudul
a2c4f8c2d1
Prominently expose profiler memory usage.
2020-04-13 14:41:05 +02:00
Bartosz Taudul
b8647f968a
Don't animate threads on first frame.
2020-04-12 23:41:18 +02:00
Bartosz Taudul
a074d18dfa
Don't display source files, if none available.
2020-04-12 23:26:02 +02:00
Bartosz Taudul
5fd5091efd
Fix handling of unknown symbols.
2020-04-12 23:18:38 +02:00
Bartosz Taudul
3398c969ac
Disable scrollbar for source view window.
2020-04-12 17:11:51 +02:00
Bartosz Taudul
ef56c7fa7c
Display source files time composition in selected function/symbol.
2020-04-12 17:08:58 +02:00
Bartosz Taudul
078014826b
Fix detection of hovering over source lines.
2020-04-12 16:21:03 +02:00
Bartosz Taudul
0794cf56ff
Sort inline functions list by time spent in function.
2020-04-12 16:13:39 +02:00
Bartosz Taudul
a0f7cb41c3
Merge building inline symbol list with stats collection.
2020-04-12 16:11:24 +02:00
Bartosz Taudul
de18dd46b6
Don't build inline symbols list, if not needed.
2020-04-12 16:05:49 +02:00
Bartosz Taudul
633902cce5
Display inline functions time composition in symbol.
2020-04-12 16:05:01 +02:00
Bartosz Taudul
58cf97ef5d
Display wall time in addition to sample counts.
2020-04-11 22:14:56 +02:00
Bartosz Taudul
c4bddf59e2
Allow access to sampling data before instrumentation is ready.
2020-04-11 18:21:46 +02:00
Bartosz Taudul
6c76c8098b
Draw hotness markers next to sample percentage counts.
2020-04-11 01:59:15 +02:00
Bartosz Taudul
2c11418d33
Calculate max sample counts during ip map creation.
2020-04-11 01:34:44 +02:00
Bartosz Taudul
5bc01124c2
Draw jump range and target on scroll bar, when highlighted.
2020-04-10 23:31:25 +02:00
Bartosz Taudul
ca66dc9ba0
More code deduplication.
2020-04-10 23:13:51 +02:00
Bartosz Taudul
ac37898331
Go to white-hot color for ip count over max.
2020-04-10 23:10:26 +02:00
Bartosz Taudul
126a587aa3
Less code duplication.
2020-04-10 23:07:52 +02:00
Bartosz Taudul
61828070c5
Display tooltip for sample percentage.
2020-04-10 23:03:47 +02:00
Bartosz Taudul
895e06d778
Draw asm line hotness.
2020-04-10 17:27:57 +02:00
Bartosz Taudul
f6400880b0
Scroll bar decorations for asm lines.
2020-04-10 17:27:57 +02:00
Bartosz Taudul
bcfd32e49f
Decorate source scroll bar with line hotness.
2020-04-10 17:27:57 +02:00
Bartosz Taudul
e51844eba3
Decorate source scroll bar with selected and highlighted line.
2020-04-10 16:56:56 +02:00
Bartosz Taudul
a6c0ac4273
Tighten assembly counts in source view.
2020-04-10 00:40:31 +02:00
Bartosz Taudul
14ec7ea6cd
Tighten line numbers in source view.
2020-04-10 00:37:46 +02:00
Bartosz Taudul
497e73182a
Ditto for source navigation.
2020-04-09 23:28:51 +02:00
Bartosz Taudul
072fed288a
Use left and right mouse buttons for asm navigation.
...
Left click on source line just selects the line and the corresponding
asm lines.
Right click does the above and focuses asm view on the first selected
line.
2020-04-09 23:12:17 +02:00
Bartosz Taudul
47d56f6259
Proper scaling of instruction pointer counts.
2020-04-09 22:52:44 +02:00
Bartosz Taudul
f0c7a751c1
Context-sensitive auto-selection of stats mode in source view.
2020-04-09 22:37:49 +02:00
Bartosz Taudul
9d2c03bc5b
Allow showing sample data for whole symbol.
2020-04-09 22:23:57 +02:00
Bartosz Taudul
a2385a8b24
Use correct address range.
2020-04-09 22:21:21 +02:00
Bartosz Taudul
0e1c9e2cd1
Highlight source line corresponding to hovered asm line.
2020-04-09 22:02:06 +02:00
Bartosz Taudul
0791871955
Highlight asm lines for hovered source line.
2020-04-09 21:57:28 +02:00
Bartosz Taudul
1e965edb54
Don't separate inlines by default.
2020-04-09 19:44:42 +02:00
Bartosz Taudul
a339d397ce
Don't select addresses outside symbol.
2020-04-09 14:10:07 +02:00
Bartosz Taudul
241f59b59f
Sprinkle some icons.
2020-04-09 02:33:02 +02:00
Bartosz Taudul
554366ad9f
Search for address within current symbol.
2020-04-09 02:12:49 +02:00
Bartosz Taudul
d2ebc58be3
Set sensible combo box heights.
2020-04-09 02:09:54 +02:00
Bartosz Taudul
0f42dc2e4c
Fix source-less sample count calculations.
2020-04-09 02:04:22 +02:00
Bartosz Taudul
3177865fc2
Follow jump by clicking on jump arrows.
2020-04-09 02:02:06 +02:00
Bartosz Taudul
a715df6338
Tighten assembly source location display.
2020-04-09 01:52:22 +02:00
Bartosz Taudul
6dd765c101
Tighten mnemonic display.
2020-04-09 01:45:38 +02:00
Bartosz Taudul
bae08c27c8
Tighter assembly address display.
2020-04-09 01:31:27 +02:00
Bartosz Taudul
643c0867ed
Add jump arrows tooltip.
2020-04-09 01:09:57 +02:00
Bartosz Taudul
2cd789662b
Handle source-less asm lines selection.
2020-04-08 23:59:21 +02:00
Bartosz Taudul
08c58fe8e3
Separate asm lines selection.
2020-04-08 23:59:10 +02:00
Bartosz Taudul
25346c7a55
Disable movement in source view sub-children.
2020-04-08 23:32:36 +02:00
Bartosz Taudul
450229f5e4
Only change assembly target line when necessary.
2020-04-08 23:30:42 +02:00
Bartosz Taudul
3a1f980a36
Prevent opening obsolete source files.
2020-04-08 23:07:59 +02:00
Bartosz Taudul
3e2260bdcb
Add color boxes to file selection.
2020-04-08 23:06:38 +02:00
Bartosz Taudul
d300d17f9e
Match source and assembly selection.
2020-04-08 22:57:42 +02:00
Bartosz Taudul
bb338a1c97
Symbol file selector.
2020-04-08 22:25:36 +02:00
Bartosz Taudul
a1bad4b7be
Build list of symbol source files.
2020-04-08 22:18:00 +02:00
Bartosz Taudul
0551cd8e44
Switching between source files from asm view.
2020-04-08 22:10:58 +02:00
Bartosz Taudul
3f01d3bcb1
Selection of inlined function within symbol.
2020-04-08 22:04:33 +02:00
Bartosz Taudul
006919ec55
Mixed source/assembly symbol view.
2020-04-08 22:04:00 +02:00
Bartosz Taudul
b353e8752d
Display inlined function stats within symbols.
2020-04-08 19:09:47 +02:00
Bartosz Taudul
b05625d444
Display count of inlined functions in symbols.
2020-04-08 17:17:45 +02:00
Bartosz Taudul
51d5ef5b4e
Allow merging inlined function stats into base symbol.
2020-04-08 17:12:15 +02:00
Bartosz Taudul
02e1a7669c
Add offset-less GetSymbolForAddress().
2020-04-08 16:55:49 +02:00
Bartosz Taudul
a34cfacb5c
Stabilize symbol sorting.
2020-04-08 15:55:34 +02:00
Bartosz Taudul
fe98921e4c
Add UI for disabling inlines in sample statistics.
2020-04-08 15:52:53 +02:00
Bartosz Taudul
f59f4f266e
Add inline symbols list accessor.
2020-04-08 15:34:14 +02:00
Bartosz Taudul
2a06f1545b
Store count of proper and inline symbols in trace dump.
2020-04-08 12:52:06 +02:00
Bartosz Taudul
1da1d31e1c
Store list of inline symbols.
2020-04-08 12:44:12 +02:00
Bartosz Taudul
a7fffe7e13
Separate opening source and symbol views.
2020-04-08 02:12:09 +02:00
Bartosz Taudul
09cf160088
Split source and symbol views in SourceView.
2020-04-08 01:58:23 +02:00
Bartosz Taudul
1c0ec60b23
Don't try to display assembly line counts if no symbol is selected.
2020-04-08 01:48:22 +02:00
Bartosz Taudul
2ad3f9b51f
Index data is already available.
2020-04-05 15:09:13 +02:00
Bartosz Taudul
f1f4f48c38
Perform rate distortion optimization on frame images.
2020-04-05 15:04:18 +02:00
Bartosz Taudul
b19d5731ac
Move DXT1 index fixup to texture compression class.
2020-04-05 14:05:43 +02:00
Bartosz Taudul
6d435e08c8
Handle nullptr in FindStringIdx.
2020-04-04 14:42:00 +02:00
Bartosz Taudul
38bfa7bdb6
Include return instructions in jump out list.
2020-04-04 14:30:48 +02:00
Bartosz Taudul
8c260c9d12
Draw jump outs from symbols.
2020-04-04 14:30:47 +02:00
Bartosz Taudul
268af5b67c
Adapt to DPI scaling.
2020-04-04 14:30:47 +02:00
Bartosz Taudul
78a0773f38
Collect jumps outside symbol.
2020-04-04 13:51:55 +02:00
Bartosz Taudul
e02e595eec
Align jump arrows to pixels.
2020-04-04 13:42:19 +02:00
Bartosz Taudul
aae161e31a
Draw jumps in assembly view.
2020-04-04 03:41:10 +02:00
Bartosz Taudul
bda5c1d13e
Ignore out-of-symbol jumps.
2020-04-04 03:13:21 +02:00
Bartosz Taudul
f2b044438d
Don't print empty text, just advance cursor.
2020-04-04 02:45:01 +02:00
Bartosz Taudul
3711a66592
Calculate jump table.
2020-04-04 02:25:12 +02:00
Bartosz Taudul
b016d9e295
Going from source location to assembly line.
2020-04-02 13:10:18 +02:00
Bartosz Taudul
252e02ba2e
One more place where server queue is handled.
2020-04-02 12:15:50 +02:00
Bartosz Taudul
700f189921
Wait for server query queue to drain before terminating.
2020-04-02 12:15:04 +02:00
Bartosz Taudul
562e675a0e
Save/load code location data.
2020-04-02 12:12:10 +02:00
Bartosz Taudul
50d9932378
Display number of assembly instructions for each line.
2020-04-02 02:35:41 +02:00
Bartosz Taudul
2b8cf5d132
Add addressess accessor.
2020-04-02 02:17:22 +02:00
Bartosz Taudul
22e9135ab1
Retrieve file name string idx in source view.
2020-04-02 02:15:10 +02:00
Bartosz Taudul
16686739f6
Rebuild string map on trace load.
2020-04-02 02:15:00 +02:00
Bartosz Taudul
e7f4f58886
StringIdx search from string.
2020-04-02 02:08:00 +02:00
Bartosz Taudul
387fdb30b0
Map source location to assembly instructions.
2020-04-02 02:01:58 +02:00
Bartosz Taudul
9f0a6b8231
Make pdqsort always available.
2020-04-02 02:00:21 +02:00
Bartosz Taudul
d3c278cb02
Make source location display optional.
2020-04-02 01:37:56 +02:00
Bartosz Taudul
39cb9f4a32
Display source locations in assembly view.
2020-04-02 01:32:23 +02:00
Bartosz Taudul
b2c2bfc2aa
Move HSV color conversion to a separate source file.
2020-04-02 01:04:59 +02:00
Bartosz Taudul
2303f18d39
Add guards to source view header.
2020-04-02 01:02:42 +02:00
Bartosz Taudul
59a49f0698
Jump from assembly to source line.
2020-04-02 00:53:27 +02:00
Bartosz Taudul
327e30fe7c
Add source file location tooltip for assembly instructions.
...
This has bad UX, better solution is needed.
2020-04-02 00:39:17 +02:00
Bartosz Taudul
d204742bb8
Accessor for getting source file, line from address.
2020-04-02 00:31:53 +02:00
Bartosz Taudul
2dd5912fee
Cosmetics.
2020-04-02 00:31:41 +02:00
Bartosz Taudul
6392e4d38d
Display number of received code locations.
2020-04-02 00:00:46 +02:00
Bartosz Taudul
c8d1f4d3d6
Add code locations size accessor.
2020-04-01 22:38:47 +02:00
Bartosz Taudul
0ec89e9aae
Store code address -> source file+line mapping.
2020-04-01 22:37:19 +02:00
Bartosz Taudul
b2a8b53efa
Query source location of each assembly instruction.
2020-04-01 21:43:03 +02:00
Bartosz Taudul
9e8089ec1a
Improve handling of query queue.
2020-04-01 21:05:25 +02:00
Bartosz Taudul
b6ce693ede
Include inline parents when filtering sample statistics.
2020-04-01 13:24:32 +02:00
Bartosz Taudul
0f2095f84a
Add missing break.
2020-04-01 13:10:26 +02:00
Bartosz Taudul
57779a8ed9
Cosmetics.
2020-03-31 20:44:44 +02:00
Bartosz Taudul
d08f3a6ea0
Check for samples, not ghost zones.
2020-03-31 02:20:34 +02:00
Bartosz Taudul
b957087456
Add "smart" symbol location to sampled statistics.
2020-03-30 23:58:42 +02:00
Bartosz Taudul
eb48d24182
Store context switch data for threads with ghost zones.
2020-03-30 23:41:21 +02:00
Bartosz Taudul
0ad24f6485
Display graphical representation of line percentage.
2020-03-30 22:49:06 +02:00
Bartosz Taudul
44096dfcf2
Move DrawTextContrast() to TracyImGui.hpp.
2020-03-30 22:39:34 +02:00
Bartosz Taudul
c1ed44bd35
Common percentage printing function.
2020-03-30 22:26:45 +02:00
Bartosz Taudul
11aedf2b27
Proper processing of symbol locations in live capture.
2020-03-30 17:10:59 +02:00
Bartosz Taudul
6fe5d0575f
Add parent symbol for inlined symbols in sampled statistics.
2020-03-30 02:50:34 +02:00
Bartosz Taudul
17a5faa5e0
Display parent symbol for inline symbols in source view.
2020-03-30 02:46:29 +02:00
Bartosz Taudul
30771bf7cb
Gather failure data before terminating connection.
2020-03-29 23:01:57 +02:00
Bartosz Taudul
48e4d33bea
Support call stacks longer than 255 entries.
2020-03-28 18:04:33 +01:00
Bartosz Taudul
d43461584a
Don't jump out to symbols without source and code.
2020-03-28 15:11:23 +01:00
Bartosz Taudul
2e1aa844fe
Don't try to open invalid files.
2020-03-28 15:06:36 +01:00
Bartosz Taudul
78eb774822
Assembly addresses can be displayed relative to symbol.
2020-03-28 14:42:47 +01:00
Bartosz Taudul
9837e06816
Implement cross-symbol jumping.
2020-03-28 14:27:29 +01:00
Bartosz Taudul
013bb5a4f2
Use generic group categories.
2020-03-28 14:00:21 +01:00
Bartosz Taudul
86aad15e0c
Display jump/call target address.
2020-03-28 01:36:51 +01:00
Bartosz Taudul
28db0f6227
Wait for data to be ready.
2020-03-28 01:17:35 +01:00
Bartosz Taudul
8dba099a56
Revert "Base address is not needed."
...
This reverts commit 058369bc7a
.
2020-03-28 00:57:41 +01:00
Bartosz Taudul
22cae56ab1
Decode jump/call addresses.
2020-03-28 00:53:48 +01:00
Bartosz Taudul
fd3b9ca1e5
No need to format string.
2020-03-27 23:59:09 +01:00
Bartosz Taudul
17009b315f
Remove unused variable.
2020-03-27 23:59:03 +01:00
Bartosz Taudul
86ca85f39d
Initialize variable.
2020-03-27 23:58:49 +01:00
Bartosz Taudul
058369bc7a
Base address is not needed.
2020-03-27 23:58:25 +01:00
Bartosz Taudul
5249eb4428
Fix init order.
2020-03-27 23:57:23 +01:00
Bartosz Taudul
5675044443
Display image name, if source file is unknown.
2020-03-27 21:54:40 +01:00
Bartosz Taudul
d065d28244
Allow assembly view in all calls to SetTextEditorFile.
2020-03-27 21:46:57 +01:00
Bartosz Taudul
78ea40d70c
Check for asm/source availability in SetTextEditorFile.
2020-03-27 21:46:57 +01:00
Bartosz Taudul
efbf13fcd4
Don't store inlined symbols locations.
2020-03-27 21:16:23 +01:00
Bartosz Taudul
45b8622bc9
Search for base address when if symbol address is inlined.
2020-03-27 21:04:23 +01:00
Bartosz Taudul
31a1517d2f
Display disassembly of inlined symbols.
2020-03-27 17:59:41 +01:00
Bartosz Taudul
720ed0460b
Differentiate between symbol and base address.
2020-03-27 17:59:16 +01:00
Bartosz Taudul
992f4c8c2d
Implement search for symbol base from address.
2020-03-27 17:39:42 +01:00
Bartosz Taudul
4c381e13e9
Store list of symbol locations.
2020-03-27 17:34:51 +01:00
Bartosz Taudul
52a853b26f
Don't show invalid contents warning for disassembly.
2020-03-27 17:14:46 +01:00
Bartosz Taudul
a466362938
Use proper function to send terminate query.
2020-03-27 02:02:36 +01:00
Bartosz Taudul
51bae7855d
Display number of in-flight queries.
2020-03-27 02:00:26 +01:00
Bartosz Taudul
089681267f
Allow viewing assembly without corresponding source code.
2020-03-27 01:47:06 +01:00
Bartosz Taudul
10ca8b5440
Assembly display is not dependant on sample data.
2020-03-27 01:24:50 +01:00
Bartosz Taudul
2a54f2df5d
Reverse the fileselector compile option.
2020-03-26 23:11:26 +01:00
Bartosz Taudul
d495431f24
Reverse the root window compile option.
2020-03-26 23:08:29 +01:00
Bartosz Taudul
58bb5d40c5
Remove support for non-extended font builds.
2020-03-26 23:04:44 +01:00
Bartosz Taudul
c098a03d8f
Implement listing all symbols.
2020-03-26 22:39:16 +01:00
Bartosz Taudul
e58b9e870e
Use explicit data structure to store symbol list data.
2020-03-26 22:39:16 +01:00
Bartosz Taudul
7018caadb9
Add UI for control of displaying all symbols.
2020-03-26 22:39:16 +01:00
Bartosz Taudul
696c351e6a
Allow listing symbols, even if no sampling data has been gathered.
2020-03-26 22:39:16 +01:00
Bartosz Taudul
e6b0bfc90d
Display "no entries" message in statistics menu, if appropriate.
2020-03-26 22:39:16 +01:00
Bartosz Taudul
ef96ecd9b8
Use shorter descriptions.
2020-03-26 22:09:56 +01:00
Bartosz Taudul
2db117a7ac
Disassemble symbols even if source file has not changed.
2020-03-26 02:23:43 +01:00
Bartosz Taudul
3de4283bd2
Display code size in source file view window.
2020-03-26 02:23:09 +01:00
Bartosz Taudul
6a96b5f1dc
Use better wording.
2020-03-26 02:18:24 +01:00
Bartosz Taudul
4f417854e5
Display disassembly.
2020-03-26 00:18:38 +01:00
Bartosz Taudul
b091c0d4a8
Hide unknown symbols by default in sample statistics.
2020-03-25 23:44:48 +01:00
Bartosz Taudul
7ac03be43b
Fix braino.
2020-03-25 22:50:13 +01:00
Bartosz Taudul
3e134cdce5
Disassemble symbol code fragments.
2020-03-25 22:37:34 +01:00
Bartosz Taudul
79db7f4457
Add symbol code accessor.
2020-03-25 22:15:22 +01:00
Bartosz Taudul
53d0b91f26
CPU architecture accessor.
2020-03-25 22:12:18 +01:00
Bartosz Taudul
39da6c7c19
Store CPU architecture.
2020-03-25 21:48:24 +01:00
Bartosz Taudul
033433b883
Save/load symbol code.
2020-03-25 20:52:59 +01:00
Bartosz Taudul
ce449ac0e2
Notify server that parameter was handled.
2020-03-25 20:37:26 +01:00
Bartosz Taudul
ea507289c6
Add missing query space extensions.
2020-03-25 20:33:50 +01:00
Bartosz Taudul
cda285ceb7
Display notification when queries are backlogged.
2020-03-25 20:25:33 +01:00
Bartosz Taudul
582e46005e
Display symbols code size.
2020-03-25 20:08:39 +01:00
Bartosz Taudul
f114ec3f80
Add code transfer from client to server.
2020-03-25 20:04:55 +01:00
Bartosz Taudul
3e0e120222
Add extra parameter to server queries.
2020-03-25 20:04:01 +01:00
Bartosz Taudul
383918bca4
Display symbol size in sampled statistics window.
2020-03-25 18:45:05 +01:00
Bartosz Taudul
bf52883331
Store symbol length in trace dumps.
2020-03-25 18:37:08 +01:00
Bartosz Taudul
c515a53986
Wrapper for reading nine elements at once.
2020-03-25 18:35:48 +01:00
Bartosz Taudul
c999a74d34
Symbol length transfer.
2020-03-25 18:32:36 +01:00
Bartosz Taudul
2417f63bf2
Build instruction pointers map when loading trace.
2020-03-25 01:56:13 +01:00
Bartosz Taudul
eae664bd1b
Display instruction pointer counts in source view.
2020-03-25 01:09:02 +01:00
Bartosz Taudul
c603eaa1b6
Add symbol instruction pointers map accessor.
2020-03-25 01:08:29 +01:00
Bartosz Taudul
4c92a2619f
Pass symbol address to source view.
2020-03-25 00:07:31 +01:00
Bartosz Taudul
1999352004
Remove junk.
2020-03-25 00:00:15 +01:00
Bartosz Taudul
4068ab30e8
Build sampled instruction pointers map for symbols.
2020-03-24 23:54:30 +01:00
Bartosz Taudul
a7cedddcef
Use clipper to render source view.
2020-03-24 18:10:56 +01:00
Bartosz Taudul
96a330e034
Improve ghost zones source location logic.
2020-03-23 01:59:57 +01:00
Bartosz Taudul
9672dba765
Replace source file viewer with one that actually works.
...
This is much simpler, custom implementation of a text file viewer. It is
able to perform these two tasks as intended:
- center source view on the selected line,
- highlight that line.
2020-03-22 20:53:59 +01:00
Bartosz Taudul
13b5ac92d8
Add notification about display of empty labels.
2020-03-22 18:55:45 +01:00
Bartosz Taudul
4ae13ff3dd
Build ghost frame data during live capture.
2020-03-21 18:26:42 +01:00
Bartosz Taudul
d2a53b79d7
Don't check if vector is empty, if we're sure it's not.
2020-03-21 17:59:09 +01:00
Bartosz Taudul
8aeba9dc79
Wait for ghost zones to be ready.
2020-03-21 17:57:43 +01:00
Bartosz Taudul
159cf8c477
Add non-empty version of push_next() to Vector.
2020-03-21 17:56:24 +01:00
Bartosz Taudul
d262ca53ea
Add missing zeros to exact time printout.
2020-03-21 16:13:41 +01:00
Bartosz Taudul
c32d9c74b1
Properly display unknown sampled frames in ghost zones.
2020-03-21 15:43:20 +01:00
Bartosz Taudul
8a81d2210c
Non-consecutive stack samples are no longer present.
2020-03-21 15:28:34 +01:00
Bartosz Taudul
df7f087b08
Implement ghost zone skipping.
2020-03-19 00:56:56 +01:00
Bartosz Taudul
a2bf5ac199
Display ghost zones by default, if no instrumented zones.
2020-03-19 00:42:20 +01:00
Bartosz Taudul
e11bf1d62d
Display frame address in tooltip.
2020-03-19 00:35:19 +01:00
Bartosz Taudul
6444051382
Frames may be missing.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
92e2597192
Fix ghost children times.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
1f4dbd1b2e
Parallelize background jobs.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
a48e804e96
Don't reconstruct mem alloc plot in no-statistics builds.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
ac84e77333
Ghost zones display prototype.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
4e4ee2ff2c
Add number of call stack samples to thread tooltip.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
77d30adee9
Add per-thread ghost zones switch.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
6daa429b69
Add hidden ghost zones indicator.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
4384b812f1
Smaller nested checkboxes.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
335866be88
Add UI to control ghost zones drawing.
...
Disabled for now, will be needed in future.
2020-03-19 00:35:18 +01:00
Bartosz Taudul
adb45ed5df
Allow checking if ghost zones are ready.
2020-03-17 00:16:39 +01:00
Bartosz Taudul
2f674833b2
Add ghost zones display to view options.
2020-03-16 23:05:07 +01:00
Bartosz Taudul
eb5f7a27e7
Match ghost zones by symbol address.
2020-03-16 23:05:07 +01:00
Bartosz Taudul
b89874850f
Pack frame identifiers in ghost zones.
2020-03-16 23:05:07 +01:00
Bartosz Taudul
ead597bacc
Display count of ghost zones.
2020-03-16 23:05:07 +01:00
Bartosz Taudul
452341059b
Build ghost zones tree.
2020-03-16 23:05:06 +01:00
Bartosz Taudul
693db74380
Add CallstackFrameId comparator.
2020-03-16 23:05:06 +01:00
Bartosz Taudul
377ed48416
Don't over-reserve map.
2020-03-16 23:05:06 +01:00
Bartosz Taudul
aeb3bc410b
Pack FrameImage struct.
2020-03-16 23:05:06 +01:00
Bartosz Taudul
c06ea4a3e8
Fix layout.
2020-03-16 23:04:50 +01:00
Bartosz Taudul
b8cc3f59d6
Count number of input and compressed frame image bytes.
2020-03-14 14:35:57 +01:00
Bartosz Taudul
0776dddc35
Display image compression ratio in bits per pixel.
2020-03-14 13:10:15 +01:00
Bartosz Taudul
20a7bf2b23
There are no parents for mid-stack frames.
2020-03-14 02:06:39 +01:00
Bartosz Taudul
1bb7d05ba0
Display time percentage in statistics menu.
2020-03-14 01:47:18 +01:00
Bartosz Taudul
5046664b8b
Use "self time" consistently in the UI.
2020-03-14 01:38:46 +01:00
Bartosz Taudul
4631d884d6
Cleanup samples vector.
2020-03-10 21:46:24 +01:00
Bartosz Taudul
09d54cf9d9
Display custom lock names.
2020-03-08 13:59:31 +01:00
Bartosz Taudul
e7240cb77d
Custom lock name transfer.
2020-03-08 13:47:38 +01:00
Bartosz Taudul
9668234903
Allow requesting reconnect on trace discard.
2020-03-06 22:11:17 +01:00
Bartosz Taudul
d25614d50f
Allow address/port retrieval from View.
2020-03-06 22:11:00 +01:00
Bartosz Taudul
50123298a7
Unify texture compression implementations.
2020-03-02 02:08:14 +01:00
Bartosz Taudul
aa0bf47ec3
Extract texture compression functionality.
2020-03-02 02:00:35 +01:00
Bartosz Taudul
0df309b45c
Forward declare LockType.
2020-03-02 01:58:48 +01:00
Bartosz Taudul
abd44069ae
Fix off-by-one.
2020-03-01 14:04:10 +01:00
Bartosz Taudul
c36ed4b8b8
Boring warning fixes.
2020-03-01 01:48:20 +01:00
Bartosz Taudul
8f9ba5d54a
Rearrange UI.
2020-03-01 01:32:31 +01:00
Bartosz Taudul
5887c9d12c
Remove unused variable.
2020-03-01 01:28:56 +01:00
Bartosz Taudul
e93b574c5d
Fill-in missing image name.
2020-03-01 01:27:21 +01:00
Bartosz Taudul
83316f1299
Fix pointer fixup.
2020-02-29 23:40:21 +01:00
Bartosz Taudul
d1ff99d6e3
Callstack frame map must not be touched by statistics.
2020-02-29 19:49:33 +01:00
Bartosz Taudul
8d5755521e
Fix no statistics build.
2020-02-29 19:31:51 +01:00
Bartosz Taudul
de3a48f958
Better symbol information.
2020-02-29 19:28:42 +01:00
Bartosz Taudul
07756476b0
Allow viewing global entry stats of a callstack.
2020-02-29 18:59:01 +01:00
Bartosz Taudul
39361f71a1
Allow GetSymbolStats() to fail gracefully.
2020-02-29 18:59:01 +01:00
Bartosz Taudul
9b53792f20
Add call stack sample parents window.
2020-02-29 18:59:01 +01:00
Bartosz Taudul
2589b45af0
Add accessors for new data.
2020-02-29 18:39:45 +01:00
Bartosz Taudul
bc14ca86f3
Count proper number of parent stacks.
2020-02-29 17:58:17 +01:00
Bartosz Taudul
c18584fdbc
Iterator may be invalidated.
2020-02-29 17:08:02 +01:00
Bartosz Taudul
4843a1d458
Collect parent call stacks for symbols.
2020-02-29 16:41:22 +01:00
Bartosz Taudul
90f5ae536c
Display count of parent call stacks and frames.
2020-02-29 16:32:33 +01:00
Bartosz Taudul
6cc4de8d28
Construct parent call stacks for sampled stack traces.
2020-02-29 16:24:15 +01:00
Bartosz Taudul
935eb4cc61
Use xxh3 for VarArray hashing.
2020-02-29 15:31:05 +01:00
Bartosz Taudul
bdc86f5338
Process postponed samples when new frame data is available.
2020-02-29 14:12:04 +01:00
Bartosz Taudul
0d112e20a5
Don't perform unnecessary hashmap search.
2020-02-29 13:58:11 +01:00
Bartosz Taudul
3412d2232f
Postpone processing incomplete sampled callstacks.
2020-02-29 13:45:50 +01:00
Bartosz Taudul
7947087694
Print frame image compression ration.
2020-02-29 00:49:42 +01:00
Bartosz Taudul
49a0072bab
Use correct wording.
2020-02-27 23:11:45 +01:00
Bartosz Taudul
5f48f8a3aa
Allow hiding symbols with unknown location.
2020-02-27 19:45:41 +01:00
Bartosz Taudul
fea3444625
Use percent print wrapper in more places.
2020-02-27 17:20:34 +01:00
Bartosz Taudul
4fa049188b
Add total time percentage for entries in sampling statistics.
2020-02-27 17:05:56 +01:00
Bartosz Taudul
e438e1c53d
Add another percent print helper.
2020-02-27 17:05:48 +01:00
Bartosz Taudul
c5e8739435
Live update of sample statistics data.
2020-02-27 16:48:50 +01:00
Bartosz Taudul
8aa70211c0
Display inline functions.
2020-02-27 15:28:58 +01:00
Bartosz Taudul
bc18862dc6
Allow displaying instruction location.
2020-02-27 15:10:50 +01:00
Bartosz Taudul
7dd929a39e
Preserve symbol call location.
2020-02-27 15:07:29 +01:00
Bartosz Taudul
2e5ce52086
Implement reading 7 elements.
2020-02-27 15:07:29 +01:00
Bartosz Taudul
17e7add105
By default show self times in statistics menu.
2020-02-27 14:20:19 +01:00
Bartosz Taudul
be5793987e
Don't send symbol name.
2020-02-27 12:49:48 +01:00
Bartosz Taudul
9d718eb1e8
Preserve inlined symbol names.
2020-02-27 12:39:05 +01:00
Bartosz Taudul
374ddbe2a6
Replace tabs with radio buttons.
2020-02-27 12:24:28 +01:00
Bartosz Taudul
8173f24515
Add filter to sampling statistics.
2020-02-27 02:31:30 +01:00
Bartosz Taudul
27466fc56b
Add callstack sampling statistics.
2020-02-27 02:08:20 +01:00
Bartosz Taudul
852e37c8dd
Calculate callstack sample data on trace load.
2020-02-27 01:22:36 +01:00
Bartosz Taudul
8288f7c6b7
No need to pack ZoneThreadData.
2020-02-27 01:00:41 +01:00
Bartosz Taudul
c99537c402
Provide default value for sourceLocationZonesReady.
2020-02-27 00:26:58 +01:00
Bartosz Taudul
75312c7bb6
Display count of symbols.
2020-02-26 23:02:39 +01:00
Bartosz Taudul
a35795f793
Use more appropriate name.
2020-02-26 23:02:34 +01:00
Bartosz Taudul
4511a4de8c
Save/load symbol information.
2020-02-26 22:53:18 +01:00
Bartosz Taudul
847069a59d
Expose symbol source location data.
2020-02-26 22:46:02 +01:00
Bartosz Taudul
26cee8acf0
Perform symbol information queries.
2020-02-26 22:35:15 +01:00
Bartosz Taudul
02c99fca67
Enable display of symbol address in callstack window.
2020-02-26 19:16:27 +01:00
Bartosz Taudul
8f36ee2c89
Display module name in callstack window.
2020-02-26 01:04:51 +01:00
Bartosz Taudul
eb7e8162ff
Handle module names on server side.
2020-02-26 00:55:43 +01:00
Bartosz Taudul
d6c0720f8a
Save/load sampling period.
2020-02-25 23:46:16 +01:00
Bartosz Taudul
af58649113
Store symbol addresses.
2020-02-25 23:42:59 +01:00
Bartosz Taudul
ca894be51d
Store sampling period on server.
2020-02-25 23:13:28 +01:00
Bartosz Taudul
4695f60937
Fix display of kernel addresses.
2020-02-24 23:04:53 +01:00
Bartosz Taudul
9e1c24f93e
Add icon to filter entry boxes.
2020-02-24 01:33:12 +01:00
Bartosz Taudul
2e3b13ced5
Optional frame image display in messages list.
2020-02-24 01:29:57 +01:00
Bartosz Taudul
d63a15a570
Don't init unused memory on vector realloc.
...
Warning, this change may break things in unexpected ways!
2020-02-23 20:20:19 +01:00
Bartosz Taudul
d150e688f5
Simpler vector init.
2020-02-23 19:47:09 +01:00
Bartosz Taudul
00d91cb9ab
Optimize slab allocation.
2020-02-23 19:43:00 +01:00
Bartosz Taudul
085e1fd43f
Deduplicate code.
2020-02-23 19:16:33 +01:00
Bartosz Taudul
37d9a20b4a
Use caret right to indicate inlined frames, instead of "--".
2020-02-23 16:08:00 +01:00
Bartosz Taudul
7f5e23f2ac
Handle one more case of duplicate samples.
2020-02-23 15:57:36 +01:00
Bartosz Taudul
625d380f7a
Return value is not used.
2020-02-23 15:53:23 +01:00
Bartosz Taudul
759fd15c03
Don't load vector size twice.
2020-02-23 15:35:08 +01:00
Bartosz Taudul
31d2bc1740
Fix typo.
2020-02-23 11:49:01 +01:00
Bartosz Taudul
358de714c8
Don't use "???" external thread name.
2020-02-23 11:39:51 +01:00
Bartosz Taudul
2ec3813cb3
Collapse multiple callstack samples.
2020-02-23 00:24:04 +01:00
Bartosz Taudul
5e2390604d
Use proper check for "draw stack samples" option visibility.
2020-02-22 23:20:59 +01:00
Bartosz Taudul
90277953c7
Replace duplicate samples.
2020-02-22 21:36:27 +01:00
Bartosz Taudul
6532f622cb
Mute color of unknown call frames.
2020-02-22 21:17:36 +01:00
Bartosz Taudul
4273939cf5
Local threads must have at least one zone captured.
2020-02-22 18:52:38 +01:00
Bartosz Taudul
d4f9810006
Draw callstack sample data.
2020-02-22 18:52:38 +01:00
Bartosz Taudul
b425374cb7
Add callstack samples drawing option.
2020-02-22 18:52:38 +01:00
Bartosz Taudul
597911e5a8
Save/load callstack samples.
2020-02-22 18:52:38 +01:00
Bartosz Taudul
ca39c9877e
Display number of callstack samples.
2020-02-22 18:52:37 +01:00
Bartosz Taudul
437771ea85
Process callstack sample data.
2020-02-22 18:52:37 +01:00
Bartosz Taudul
ba0715b295
Replace remaining manual children checks with HasChildren().
2020-02-21 00:36:45 +01:00
Bartosz Taudul
ecc9369da2
Return zone extra during allocation.
2020-02-20 23:39:40 +01:00
Bartosz Taudul
4bf0af321f
Wrapper for allocation and retrieval of zone extra.
2020-02-20 23:37:55 +01:00
Bartosz Taudul
217c16de20
Display exact start and end time for CPU data.
2020-02-20 23:21:54 +01:00
Bartosz Taudul
c5dbd749e7
Combine ContextSwitchCpu writes.
2020-02-20 02:09:09 +01:00
Bartosz Taudul
54573fb970
Combine ContextSwitchData writes.
2020-02-20 02:05:23 +01:00
Bartosz Taudul
d96fcc95c2
Update list of tracy callstack frames.
2020-02-20 00:31:38 +01:00
Bartosz Taudul
b138db9c4d
Display mode in find zone menu.
2020-02-19 23:33:39 +01:00
Bartosz Taudul
b26f642c6e
Change "average" to "mean".
2020-02-19 23:29:18 +01:00
Bartosz Taudul
d4f99e4459
Perform cheaper check first.
2020-02-19 22:43:37 +01:00
Bartosz Taudul
25f6c5f884
Disable charconv on gcc/clang.
...
Because there's no way to check whether libstdc++ and libc++ finally
decided to implement the standard fully.
2020-02-13 19:22:08 +01:00
Bartosz Taudul
3140dbb34a
Size is never zero at start.
2020-02-13 18:41:32 +01:00
Bartosz Taudul
c870b10387
Offset in just-read block is always zero.
2020-02-13 18:39:46 +01:00
Bartosz Taudul
26584b00c3
Issue just one read call per zone.
...
Separate reads are issued only for first and last of children.
2020-02-13 18:11:54 +01:00
Bartosz Taudul
ebf2c3ad5b
No need to check if file has ended.
2020-02-13 15:41:20 +01:00
Bartosz Taudul
4d892cbae9
Preload next block size.
2020-02-13 15:37:37 +01:00
Bartosz Taudul
232379c72c
Optimize reading CPU data.
2020-02-13 01:14:12 +01:00
Bartosz Taudul
c03b8b72da
Optimize reading context switches.
2020-02-13 01:12:01 +01:00
Bartosz Taudul
3bb0f33dcc
Optimize reading plot data.
2020-02-13 01:04:40 +01:00
Bartosz Taudul
c0a2e9b3f7
Ditto during capture.
2020-02-13 00:54:54 +01:00
Bartosz Taudul
cc0f1f514c
Store memory event time and thread data together.
2020-02-13 00:52:29 +01:00
Bartosz Taudul
f9b19631c0
Read memory data in one go.
2020-02-13 00:37:54 +01:00
Bartosz Taudul
51e04673c6
8-element reader wrapper.
2020-02-13 00:35:20 +01:00
Bartosz Taudul
8e825d91e0
Keep refTime in a register.
2020-02-12 20:59:36 +01:00
Bartosz Taudul
39d24d0d4a
Set start and srcloc in one go.
2020-02-12 20:46:56 +01:00
Bartosz Taudul
5c6bfcbeee
Add combined start + srcloc setter for ZoneEvent.
2020-02-12 20:46:56 +01:00
Bartosz Taudul
354115ef9b
Reduce granularity of zone reading progress updates.
2020-02-12 20:03:14 +01:00
Bartosz Taudul
1492536bdb
Handle FileReadError.
2020-02-12 19:53:37 +01:00
Bartosz Taudul
eb79507501
Read files using mmap.
2020-02-12 19:43:05 +01:00
Bartosz Taudul
3b345aab37
FileRead::IsEOF() is no longer used.
2020-02-12 19:27:15 +01:00
Bartosz Taudul
cc805b7b74
Add mmap() wrapper.
2020-02-12 19:24:30 +01:00
Bartosz Taudul
fa1747bdb2
Faster total zone count calculation during loading.
2020-02-12 19:15:46 +01:00
Bartosz Taudul
e88df069bd
Load zone child number along with zone data.
2020-02-12 02:14:21 +01:00
Bartosz Taudul
925909aa3a
Wrapper for reading 6 elements at once.
2020-02-12 02:13:50 +01:00
Bartosz Taudul
1655bf284f
More Int24/Int48 optimizations.
2020-02-12 02:00:26 +01:00
Bartosz Taudul
f562ff780c
Don't care about atomic increments of counters.
2020-02-12 00:53:03 +01:00
Bartosz Taudul
88f3e554da
Read all CPU zone variables at once.
2020-02-12 00:36:59 +01:00
Bartosz Taudul
5227bc3549
Read all GPU zone variables at once.
2020-02-12 00:34:09 +01:00
Bartosz Taudul
6cab3dcd3a
Helper for reading 5 variables.
2020-02-12 00:32:00 +01:00
Bartosz Taudul
00ab76fa19
Discard scratch buffer tricks for better performance.
2020-02-12 00:29:45 +01:00
Bartosz Taudul
e0ec98d766
Keep ztime in register.
2020-02-11 23:20:38 +01:00
Bartosz Taudul
86644ecda0
Store intermediate results in registers, not in memory.
2020-02-11 02:35:50 +01:00
Bartosz Taudul
caace1ce11
Directly access memory, omitting shift.
...
As always, clang generated the right code here anyways...
2020-02-11 02:24:40 +01:00
Bartosz Taudul
5a995d804b
Draw zig-zag as a single stroke.
2020-02-10 23:34:33 +01:00
Bartosz Taudul
06cd57fe6e
Delay rounding h/2.
2020-02-10 23:24:58 +01:00
Bartosz Taudul
d80e7cc025
Remove unnecessary round() calls.
2020-02-10 23:20:35 +01:00
Bartosz Taudul
eff040dca6
Optimize drawing zig-zags.
2020-02-10 22:53:59 +01:00
Bartosz Taudul
ad3aa73085
Change order of background tasks.
...
Now tasks are performed in the following order:
- Context switch based CPU usage graph.
- Memory allocations plot.
- Zone statistics.
This prioritizes appearance of the most notable things first.
2020-02-10 22:31:10 +01:00
Bartosz Taudul
6f4a10be04
Optimize Int48 reconstruction.
2020-02-10 01:38:45 +01:00
Bartosz Taudul
76afef9117
Direct checks for context switch end validity.
2020-02-10 01:26:31 +01:00
Bartosz Taudul
ae0392a0e5
Don't needlessly convert doubles to integers.
2020-02-10 01:05:42 +01:00
Bartosz Taudul
d0c2a26ced
Fix continuous frames tooltips.
...
At high zoom-out levels frame tooltip will be always displayed now for
continuous frame sets. This greatly helps with scrubbing to an
appropriate location, basing of frame images.
2020-02-10 00:41:18 +01:00
Bartosz Taudul
ffdd5290bf
Clip wait regions display.
2020-02-10 00:12:34 +01:00
Bartosz Taudul
53e5eb749d
Compress frame images using zstd.
...
Memory usage and trace load times:
!comp 587 MB, 439 ms -> 541 MB, 523 ms (92%, 119%)
android-vk 197 MB, 136 ms -> 188 MB, 178 ms (95%, 130%)
big2 4463 MB, 2.93 s -> 4198 MB, 3.65 s (94%, 124%)
fi 483 MB, 346 ms -> 416 MB, 409 ms (86%, 118%)
fi-big 3307 MB, 3.15 s -> 2985 MB, 3.53 s (90%, 112%)
large 19.74 GB, 10.05 s -> 19.28 GB, 11.16 s (97%, 110%)
2020-02-09 21:22:12 +01:00
Bartosz Taudul
ec5c7cf8a7
Reading zstd compressed traces.
2020-02-08 16:14:43 +01:00
Bartosz Taudul
145514687c
Add zstd compression to FileWrite.
2020-02-08 16:14:43 +01:00
Bartosz Taudul
dd650e08ec
Display saved trace size.
2020-02-08 13:07:02 +01:00
Bartosz Taudul
6f554d7f00
Gather file compression statistics.
2020-02-08 12:57:35 +01:00
Bartosz Taudul
068e752aa7
No charconv for MSVC < 16.4.
...
https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=vs-2019#note_charconv
2020-02-06 00:37:27 +01:00
Bartosz Taudul
db408df395
Explain combined values in trace info window.
2020-02-05 23:49:10 +01:00
Bartosz Taudul
7425cd7112
Also display non-user plot data count.
2020-02-05 23:41:53 +01:00
Bartosz Taudul
1bad607e6c
Replace "2x" with "2×".
2020-02-05 23:37:03 +01:00
Bartosz Taudul
8624bb95ba
Fix double separator in options, if no GPU zones are available.
2020-02-05 23:32:59 +01:00
Bartosz Taudul
9556878b23
Display appropriate notification when there's no message data.
2020-02-05 23:30:52 +01:00
Bartosz Taudul
9fc9f71666
Properly initialize callstack frame tree.
2020-02-05 23:16:18 +01:00
Bartosz Taudul
0bb6162a01
Allow sorting memory data listings.
2020-02-05 17:08:41 +01:00
Bartosz Taudul
9aecd43f24
Display exact time in find zone range limit information.
2020-02-03 19:34:51 +01:00
Bartosz Taudul
eca27b9d12
Display exact time, where appropriate.
2020-02-02 15:13:20 +01:00
Bartosz Taudul
e9be4934c4
Display plot item time.
2020-02-02 15:13:20 +01:00
Bartosz Taudul
b1342a10b0
Exact time printing functionality.
2020-02-02 15:13:20 +01:00
Bartosz Taudul
b418c55e89
Verify tiny int printing input.
2020-02-02 14:31:59 +01:00
Bartosz Taudul
182efc0b04
Limit timeline view to <-5,5> days range.
2020-02-02 14:11:42 +01:00
Bartosz Taudul
8627a31912
Maximum time range is 1.6 days.
2020-02-02 14:11:42 +01:00
Bartosz Taudul
ea4b64909f
Fix 32-bit short_ptr.
2020-02-02 02:36:28 +01:00
Bartosz Taudul
b55fa19f72
Fix division by zero.
2020-02-01 18:01:24 +01:00
Bartosz Taudul
555203c46a
Don't display unknown frames if there's no callstack frames.
2020-02-01 17:49:27 +01:00
Bartosz Taudul
024182b6a0
Fit trace description entry field to window width.
2020-02-01 17:36:51 +01:00
Bartosz Taudul
d680fa6cd6
Clip memory allocation lists.
2020-01-31 19:18:20 +01:00
Bartosz Taudul
a84eec1aef
Clip found zones list.
2020-01-31 19:07:20 +01:00
Bartosz Taudul
f86fbe7fd5
Allow no-nonsense access to internal short_ptr pointer.
2020-01-31 19:06:21 +01:00
Bartosz Taudul
5f91b48e0c
Clip child zone list submissions.
2020-01-31 18:58:31 +01:00
Bartosz Taudul
4a6bc284af
Optimize "string (percentage)" printing.
2020-01-31 18:26:28 +01:00
Bartosz Taudul
ec8c661b38
Remove unneeded sprintfs.
2020-01-31 18:26:28 +01:00
Bartosz Taudul
87989a5f09
Again with this non-conformance stupidity!
2020-01-31 18:09:25 +01:00
Bartosz Taudul
289637384d
Perform less work if printing integers.
2020-01-31 02:32:12 +01:00
Bartosz Taudul
1475635382
Use std::to_chars() in RealToString().
2020-01-31 02:02:47 +01:00
Bartosz Taudul
f017b27ae2
RealToString() is always called with separator set to true.
2020-01-31 01:43:24 +01:00
Bartosz Taudul
3050f19e0b
Leverage std::to_chars.
2020-01-31 01:30:33 +01:00
Bartosz Taudul
36fb1f96e2
Custom float-printing function.
2020-01-31 01:19:08 +01:00
Bartosz Taudul
9a5104dacf
Extract and pass a value, which will be changing.
2020-01-30 01:57:49 +01:00
Bartosz Taudul
c04824890d
Add border to frame range highlight.
2020-01-29 02:17:13 +01:00
Bartosz Taudul
a218ca4412
Use correct format specifier.
2020-01-28 22:01:39 +01:00
Bartosz Taudul
7b0483dc16
Fix typo.
2020-01-28 22:00:07 +01:00
Bartosz Taudul
6946c1b205
Reorder initialization list.
2020-01-28 22:00:07 +01:00
Bartosz Taudul
6e0c238f71
Remove unneeded lambda capture.
2020-01-28 21:55:32 +01:00
Bartosz Taudul
022528bb47
Use Martin Ankerl's robin hood unordered map.
...
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul
c1ba647f5b
Fix compilation errors.
2020-01-26 17:48:19 +01:00
Bartosz Taudul
1915a9e5f6
Display extra zone data count.
2020-01-26 17:28:37 +01:00
Bartosz Taudul
3e45e4abd9
Store zone children counts as uint32, not uint64.
...
This, along with the previous change has the following effect on trace
file sizes:
old/0.tracy (0.6.2) {6512 KB} -> new/0.tracy (0.6.3) {6518 KB} 100.10% size change
old/android.tracy (0.6.2) {488901 KB} -> new/android.tracy (0.6.3) {489710 KB} 100.17% size change
old/android-vk.tracy (0.6.2) {78049 KB} -> new/android-vk.tracy (0.6.3) {76570 KB} 98.10% size change
old/asset-new.tracy (0.6.2) {74224 KB} -> new/asset-new.tracy (0.6.3) {74181 KB} 99.94% size change
old/asset-new-id.tracy (0.6.2) {79900 KB} -> new/asset-new-id.tracy (0.6.3) {79875 KB} 99.97% size change
old/asset-old.tracy (0.6.2) {76245 KB} -> new/asset-old.tracy (0.6.3) {76420 KB} 100.23% size change
old/big.tracy (0.6.2) {922594 KB} -> new/big.tracy (0.6.3) {860068 KB} 93.22% size change
old/big2.tracy (0.6.2) {2028646 KB} -> new/big2.tracy (0.6.3) {1990121 KB} 98.10% size change
old/callstack.tracy (0.6.2) {14343 KB} -> new/callstack.tracy (0.6.3) {17707 KB} 123.45% size change
old/callstack-bsd.tracy (0.6.2) {14551 KB} -> new/callstack-bsd.tracy (0.6.3) {12652 KB} 86.94% size change
old/callstack-linux.tracy (0.6.2) {6953 KB} -> new/callstack-linux.tracy (0.6.3) {7012 KB} 100.86% size change
old/callstack-lua.tracy (0.6.2) {20439 KB} -> new/callstack-lua.tracy (0.6.3) {25889 KB} 126.66% size change
old/chicken.tracy (0.6.2) {311549 KB} -> new/chicken.tracy (0.6.3) {293828 KB} 94.31% size change
old/color.tracy (0.6.2) {865 KB} -> new/color.tracy (0.6.3) {866 KB} 100.13% size change
old/crash.tracy (0.6.2) {130 KB} -> new/crash.tracy (0.6.3) {130 KB} 99.85% size change
old/crash2.tracy (0.6.2) {1403 KB} -> new/crash2.tracy (0.6.3) {1327 KB} 94.56% size change
old/ctx.tracy (0.6.2) {3207 KB} -> new/ctx.tracy (0.6.3) {3203 KB} 99.89% size change
old/ctx-android.tracy (0.6.2) {88240 KB} -> new/ctx-android.tracy (0.6.3) {86209 KB} 97.70% size change
old/ctx-big.tracy (0.6.2) {88702 KB} -> new/ctx-big.tracy (0.6.3) {87038 KB} 98.12% size change
old/darkrl.tracy (0.6.2) {15458 KB} -> new/darkrl.tracy (0.6.3) {14560 KB} 94.19% size change
old/darkrl2.tracy (0.6.2) {7824 KB} -> new/darkrl2.tracy (0.6.3) {7435 KB} 95.02% size change
old/darkrl-light-big.tracy (0.6.2) {259652 KB} -> new/darkrl-light-big.tracy (0.6.3) {234625 KB} 90.36% size change
old/darkrl-old.tracy (0.6.2) {66299 KB} -> new/darkrl-old.tracy (0.6.3) {61883 KB} 93.34% size change
old/dxtc-bad.tracy (0.6.2) {7078 KB} -> new/dxtc-bad.tracy (0.6.3) {7048 KB} 99.57% size change
old/frameimages.tracy (0.6.2) {206425 KB} -> new/frameimages.tracy (0.6.3) {203537 KB} 98.60% size change
old/frameimages-big.tracy (0.6.2) {1177638 KB} -> new/frameimages-big.tracy (0.6.3) {1150496 KB} 97.70% size change
old/gn-opengl.tracy (0.6.2) {28587 KB} -> new/gn-opengl.tracy (0.6.3) {27355 KB} 95.69% size change
old/gn-vulkan.tracy (0.6.2) {28553 KB} -> new/gn-vulkan.tracy (0.6.3) {27050 KB} 94.74% size change
old/long.tracy (0.6.2) {1152078 KB} -> new/long.tracy (0.6.3) {1124731 KB} 97.63% size change
old/mem.tracy (0.6.2) {1187810 KB} -> new/mem.tracy (0.6.3) {1187668 KB} 99.99% size change
old/messages-callstack.tracy (0.6.2) {8743 KB} -> new/messages-callstack.tracy (0.6.3) {8608 KB} 98.46% size change
old/multi.tracy (0.6.2) {7735 KB} -> new/multi.tracy (0.6.3) {7304 KB} 94.43% size change
old/new.tracy (0.6.2) {1101 KB} -> new/new.tracy (0.6.3) {1076 KB} 97.79% size change
old/q3bsp-mt.tracy (0.6.2) {912230 KB} -> new/q3bsp-mt.tracy (0.6.3) {849329 KB} 93.10% size change
old/q3bsp-st.tracy (0.6.2) {227162 KB} -> new/q3bsp-st.tracy (0.6.3) {221594 KB} 97.55% size change
old/raytracer.tracy (0.6.2) {1105411 KB} -> new/raytracer.tracy (0.6.3) {977307 KB} 88.41% size change
old/selfprofile.tracy (0.6.2) {196894 KB} -> new/selfprofile.tracy (0.6.3) {184351 KB} 93.63% size change
old/tbrowser.tracy (0.6.2) {8776 KB} -> new/tbrowser.tracy (0.6.3) {7997 KB} 91.13% size change
old/test.tracy (0.6.2) {40498 KB} -> new/test.tracy (0.6.3) {39751 KB} 98.15% size change
old/topology.tracy (0.6.2) {3733 KB} -> new/topology.tracy (0.6.3) {3739 KB} 100.16% size change
old/topology-android.tracy (0.6.2) {5292 KB} -> new/topology-android.tracy (0.6.3) {5177 KB} 97.82% size change
old/tracy-dynamic.tracy (0.6.2) {672684 KB} -> new/tracy-dynamic.tracy (0.6.3) {608221 KB} 90.42% size change
old/tracy-static.tracy (0.6.2) {2310589 KB} -> new/tracy-static.tracy (0.6.3) {2136791 KB} 92.48% size change
old/virtualfile_hc.tracy (0.6.2) {72169 KB} -> new/virtualfile_hc.tracy (0.6.3) {72142 KB} 99.96% size change
old/vk-mt.tracy (0.6.2) {10815 KB} -> new/vk-mt.tracy (0.6.3) {10714 KB} 99.07% size change
old/zfile_hc.tracy (0.6.2) {39065 KB} -> new/zfile_hc.tracy (0.6.3) {39063 KB} 100.00% size change
2020-01-26 17:16:46 +01:00
Bartosz Taudul
f2a226407f
Store extra zone data separately.
...
Extra zone data consists of:
- custom zone name,
- zone text,
- zone callstack index.
If neither of these data values is stored in zone, 5 bytes are saved. If
any one of them is required, extra 4 bytes are added, for an index into
extra data array.
Memory savings:
android 2371 MB -> 2324 MB
big 7593 MB -> 6747 MB
chicken 1687 MB -> 1501 MB
drl-l-b 1119 MB -> 1013 MB
long 4289 MB -> 4190 MB
q3bsp-mt 4399 MB -> 3918 MB
q3bsp-st 1067 MB -> 1027 MB
raytracer 6057 MB -> 5342 MB
selfprofile 1177 MB -> 1079 MB
tracy-dynamic 4489 MB -> 4013 MB
tracy-static 16.2 GB -> 14.3 GB
2020-01-26 16:19:07 +01:00
Bartosz Taudul
3aa427fdd6
Remove queue delay adjustment due to zone text.
2020-01-26 15:09:12 +01:00
Bartosz Taudul
2377911313
Package/core tooltip cosmetics.
2020-01-24 21:32:36 +01:00
Bartosz Taudul
c43bd2bfe2
Add dedicated function to check if zone has children.
2020-01-24 02:17:38 +01:00
Bartosz Taudul
ad3f37aec6
No need for two same check.
2020-01-24 02:16:29 +01:00
Bartosz Taudul
443771ecff
Only display zone "statistics" button if data is available.
2020-01-23 19:49:23 +01:00
Bartosz Taudul
1c1e5d5ee7
Don't check for invalid zones in source location data.
2020-01-23 19:10:56 +01:00
Bartosz Taudul
e31b529b4a
Count zones at zone end, not zone begin.
...
This makes sure only finished, non-zero-timespan zones are counted in
the statistics.
2020-01-23 19:10:56 +01:00
Bartosz Taudul
23601904cd
Replace one more end validity check.
2020-01-23 18:50:13 +01:00
Bartosz Taudul
54a767bf81
Use just sign bit to check end value validity.
2020-01-22 22:25:04 +01:00
Bartosz Taudul
9420234a98
Force inline flat_hash_map wrappers.
2020-01-22 22:06:35 +01:00
Bartosz Taudul
3010c7ce63
Don't use proxy for a pointer.
2020-01-22 01:54:25 +01:00
Bartosz Taudul
ea424a4c8d
Use custom vector.
2020-01-20 23:58:36 +01:00
Bartosz Taudul
e5ae1ea2cc
Only perform search, if necessary.
2020-01-20 23:53:04 +01:00
Bartosz Taudul
6de489a34f
Use flat_hash_map for groups.
2020-01-20 23:43:10 +01:00
Bartosz Taudul
6358b4588d
Preserve groups order.
2020-01-20 23:40:07 +01:00
Bartosz Taudul
6b3165d3cc
Perform map lookup in one place.
2020-01-20 23:34:48 +01:00
Bartosz Taudul
38e7d12b0b
Use parallel sort in find zone menu.
2020-01-20 23:21:43 +01:00
Bartosz Taudul
7d78923967
Move parallel sort header mumbo jumbo to a separate file.
2020-01-20 23:21:43 +01:00
Bartosz Taudul
46dc85c10c
Fix parent identifier extension to 64 bits.
...
Source location identifiers are signed 16 bits. Extending this value to
64 bits without first casting it to unsigned 16 bit caused bit extension
of the sign bit, making the value clash with "unselected" group
identifier.
2020-01-19 15:25:45 +01:00
Bartosz Taudul
91f86ce5b5
Tid to pid mapping may be already known.
2020-01-14 02:06:36 +01:00
Bartosz Taudul
3a460d3183
Use _mm_pause() instead of std::this_thread::yield() if possible.
2019-12-31 14:59:54 +01:00
Bartosz Taudul
8b56386ccd
Keep atomics on separate cache lines.
2019-12-31 14:46:01 +01:00
Bartosz Taudul
ed5f534bbb
Use proper data type size.
2019-12-28 18:28:37 +01:00
Bartosz Taudul
24727175d7
Implement copying user data location to clipboard.
2019-12-28 18:17:06 +01:00
Bartosz Taudul
9e76ddb9fd
User data directory location getter.
2019-12-28 18:16:45 +01:00
Bartosz Taudul
36942a5ddb
Resetting groups should also unselect group.
2019-12-28 18:03:30 +01:00
Bartosz Taudul
0ff6d6364b
Don't operate on empty vector.
2019-12-28 18:03:13 +01:00
Bartosz Taudul
17afcbce4f
Highlight zone from zone list on histogram.
2019-12-28 17:50:54 +01:00
Bartosz Taudul
46ed2fb802
Enhance time distribution zone search.
...
When the find zone menu is opened from the zone time distribution list,
time range limit will be enabled, preventing display of zones outside of
the selected zone range. This allows much easier finding of child zones
within the selected zone scope.
Limiting zone search to a specified thread(s) might also be helpful
here, but it can be worked around by looking only at zones in a single
thread group.
2019-12-28 17:28:39 +01:00
Bartosz Taudul
e083b2773a
Add icon to zone time range display.
2019-12-28 17:24:11 +01:00
Bartosz Taudul
870c9c734f
Draw range limit highlight.
2019-12-28 17:23:09 +01:00
Bartosz Taudul
46f3390365
Allow limiting zone time range in find zone menu.
2019-12-28 17:18:07 +01:00
Bartosz Taudul
33e7d175d4
Add zone time range limit controls.
2019-12-28 15:57:07 +01:00
Bartosz Taudul
6c6b78bcbd
Fix find zone selection time.
2019-12-28 15:48:45 +01:00
Bartosz Taudul
115c66324d
Add inclusive time display to time distribution.
2019-12-25 15:07:52 +01:00
Bartosz Taudul
1032eb95d2
Set sane default window size for CPU data.
2019-12-19 17:45:55 +01:00
Bartosz Taudul
f7f0ec0cec
Fix memcpy from nullptr.
2019-12-19 17:30:37 +01:00
Bartosz Taudul
ef9bcb6696
Don't send query if no connection to client.
...
Fixes chrome import.
2019-12-19 17:23:46 +01:00
Bartosz Taudul
e8db86d092
Implement ZoneText() string merging.
2019-12-18 13:33:01 +01:00
Bartosz Taudul
14e096d052
Set (some of) the required variables.
2019-12-16 20:42:24 +01:00
Bartosz Taudul
0137404449
Invalid source location should be 0, not UINT16_MAX (?).
2019-12-16 19:11:23 +01:00
Bartosz Taudul
ced47f227c
Add "import data" constructor to Worker.
2019-12-16 18:55:02 +01:00
Bartosz Taudul
95af214abe
Prevent 0 ns timeline view range.
2019-12-16 18:40:38 +01:00
Bartosz Taudul
0507460a16
Add markers for package and core thread migrations.
2019-11-29 23:09:30 +01:00
Bartosz Taudul
9cf7629e9b
Display CPU package, core tooltip for zone CPU list.
2019-11-29 23:09:11 +01:00
Bartosz Taudul
7ac47ab6bb
Display package, core info on CPU data timeline.
2019-11-29 22:57:18 +01:00
Bartosz Taudul
db3e802643
Build reverse CPU topology map.
2019-11-29 22:46:57 +01:00
Bartosz Taudul
712403e9fd
Transfer, display, save CPU topology data.
2019-11-29 22:41:41 +01:00
Bartosz Taudul
5b83ae4381
Release 0.6.1.
2019-11-28 23:24:15 +01:00
Bartosz Taudul
ade01e98ad
Add time-relative switch to message list in zone info window.
2019-11-27 01:42:44 +01:00
Bartosz Taudul
3e47fd6bcd
Display thread color boxes in messages list.
2019-11-27 01:38:47 +01:00
Bartosz Taudul
cc87cebee3
Display trace parameters only when the connection is active.
2019-11-26 00:57:06 +01:00
Bartosz Taudul
4551553eb4
Implement setting client parameters from server.
2019-11-25 23:59:48 +01:00
Bartosz Taudul
c5c9dfb0c9
Native callstacks are now optional in allocated callstack messages.
2019-11-25 22:54:10 +01:00
Bartosz Taudul
ace780ea74
Add CPU data thread highlight.
2019-11-24 01:40:32 +01:00
Bartosz Taudul
07e69a88c2
Fix CPU thread highlight for Vulkan zones.
2019-11-24 01:28:23 +01:00
Bartosz Taudul
2379d422cf
GPU zones highlight whole CPU thread timeline.
2019-11-24 01:21:49 +01:00
Bartosz Taudul
7f689dadbe
Use backspace icon for buttons erasing text entry.
2019-11-24 01:06:04 +01:00
Bartosz Taudul
1cc5dea616
Ignore BSD tracy-specific callstack frames.
2019-11-21 21:51:58 +01:00
Bartosz Taudul
fb6a92380d
Drop support for pre-v0.5 traces.
2019-11-21 21:48:35 +01:00
Bartosz Taudul
31b6ff4bae
Release 0.6.0.
2019-11-17 19:56:42 +01:00
Bartosz Taudul
c62732804a
Round CPU data font height.
2019-11-17 14:30:10 +01:00
Bartosz Taudul
1e29d12819
More saturation in dynamic colors.
2019-11-16 23:03:46 +01:00
Bartosz Taudul
8ca67e49e4
Scale frame images in tooltips according to DPI scaling.
2019-11-16 22:58:51 +01:00
Bartosz Taudul
2d22372de3
Scale playback contents according to DPI scale.
2019-11-16 22:54:52 +01:00
Bartosz Taudul
37a658d933
Add srcloc color box to zone tooltips.
2019-11-16 22:38:43 +01:00
Bartosz Taudul
f670d82796
Show migrations when thread is hovered in CPU data window.
2019-11-16 16:51:56 +01:00
Bartosz Taudul
41f9dc0aa1
Cosmetics.
2019-11-16 16:37:08 +01:00
Bartosz Taudul
d9f71643ac
Lock event time is known, don't reconstruct it.
2019-11-15 22:50:08 +01:00
Bartosz Taudul
a46731996d
Thread list size is known from iteration.
2019-11-15 22:44:44 +01:00
Bartosz Taudul
db930f7f93
Reserve space for thread map, list.
2019-11-15 22:44:36 +01:00
Bartosz Taudul
18fd928a9d
Don't display callstack message column if there are no callstacks.
2019-11-15 20:34:19 +01:00
Bartosz Taudul
d7d6a0fa9d
More consistent srcloc/thread colors in zone info windows.
2019-11-15 20:13:13 +01:00
Bartosz Taudul
49e3bc8b21
Don't draw unneeded separator.
2019-11-15 20:04:59 +01:00
Bartosz Taudul
5f0cab6b63
Display call stack calls in memory allocation window.
2019-11-15 20:02:21 +01:00
Bartosz Taudul
973fd941d5
Extract call stack calls drawing functionality.
2019-11-15 19:59:13 +01:00
Bartosz Taudul
a518564006
No extended font in no-extended-font path.
2019-11-15 19:58:50 +01:00
Bartosz Taudul
12037b88ff
Display messages callstack in messages list.
2019-11-15 01:22:26 +01:00
Bartosz Taudul
49945c7198
Process message callstacks.
2019-11-15 01:22:26 +01:00
Bartosz Taudul
9cf46e6ae6
Fix lock time announce/terminate in older traces.
2019-11-13 02:04:35 +01:00
Bartosz Taudul
f7ff0781b6
Properly set background done state in no-statistics builds.
2019-11-11 00:20:33 +01:00
Bartosz Taudul
b946c1d39e
Only enable magic fitted vectors in no-statistics builds.
...
Source location zones pointer fixup is just too slow to be feasible.
Note: no-statistics builds of the graphical profiler don't perform fixup
of view-related pointers (e.g. zone info window zone pointer). This
won't cause crashes, because the pointers are still valid, but the
displayed data will be incorrect and potentially changing in time, as
the pointer can be reused for completely other zone.
Memory usage of ToyPathTracer data, in various scenarios:
Capture + statistics: 7121 MB
Load + statistics: 6057 MB
Capture - statistics: 4876 MB
Load - statistics: 4521 MB
2019-11-11 00:20:33 +01:00
Bartosz Taudul
e1e3bbbe3e
Fixup source location zones pointers.
2019-11-11 00:20:33 +01:00
Bartosz Taudul
ae33aa4869
Fitted zone vectors are now magic vectors.
...
The pointed-to zones in the original children vector can't be freed, so
they are put into a zone pool for re-use by future zones.
2019-11-11 00:20:33 +01:00
Bartosz Taudul
4f962d2fcc
Add ZoneEvent re-use pool.
2019-11-11 00:20:33 +01:00
Bartosz Taudul
fd7ad586af
Make display of zone time in frames toggleable.
...
And disable it by default, as it can be heavy on resources.
2019-11-10 23:27:37 +01:00
Bartosz Taudul
fa53c2e683
Don't care about memory usage tracking data races.
2019-11-10 19:21:24 +01:00
Bartosz Taudul
9504d6c68f
Don't try to delete empty Vectors.
2019-11-10 17:54:50 +01:00
Bartosz Taudul
f2801491bf
Don't copy back pointer.
2019-11-10 17:48:54 +01:00
Bartosz Taudul
44f1d3dc1c
Use proper memory ordering.
2019-11-10 17:30:38 +01:00
Bartosz Taudul
d4a1168491
Messages are inserted for current thread context.
2019-11-10 17:23:04 +01:00
Bartosz Taudul
003bed573c
Use ThreadData cache in zone validation.
2019-11-10 17:20:55 +01:00
Bartosz Taudul
b1c88cd1f2
Cache ThreadData pointer for current thread context.
2019-11-10 17:17:07 +01:00
Bartosz Taudul
ded49edf4c
Fix magic vectors in single-threaded Vulkan tooltip.
2019-11-10 16:50:19 +01:00
Bartosz Taudul
672093cf0e
Adapt WriteTimeline() to magic vectors.
2019-11-10 16:34:38 +01:00
Bartosz Taudul
4eb8acc973
Magic vectors in automatic GPU drift detection.
2019-11-10 02:27:46 +01:00
Bartosz Taudul
1b6c79fa7b
More magic vector fixes.
2019-11-10 02:10:21 +01:00
Bartosz Taudul
226a7b7cfb
Magic vectors in GPU children list.
2019-11-10 02:03:31 +01:00
Bartosz Taudul
c65d524725
Magic vectors in GPU zone info window.
2019-11-10 01:59:20 +01:00
Bartosz Taudul
d32e3cb867
Adapt GPU zone utility functions to magic vectors.
2019-11-10 01:56:28 +01:00
Bartosz Taudul
9b52152e77
Adapt GetZoneEnd() for magic vectors.
2019-11-10 01:43:28 +01:00
Bartosz Taudul
7c277234e7
Load GPU zones into magic vectors.
2019-11-10 01:36:13 +01:00
Bartosz Taudul
4ed4e1005c
Magic vectors in GPU drawing setup.
2019-11-10 01:35:57 +01:00
Bartosz Taudul
675e6a8d1a
Support magic vectors for GPU zones.
2019-11-10 01:30:10 +01:00
Bartosz Taudul
06ad948abc
Adapt zone children to magic vectors.
2019-11-10 01:23:44 +01:00
Bartosz Taudul
50efa8f672
Adapt time distribution calculation to magic vectors.
2019-11-10 01:08:15 +01:00
Bartosz Taudul
0c1f3ac16d
Adapt zone getters to magic vectors.
2019-11-10 00:57:44 +01:00
Bartosz Taudul
f8edd3a37b
Zone statistics reconstructions has to use magic vectors.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
065ba4ce5a
Load zones into magic vectors.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
8ab2cf09b7
Handle magic vectors during dispatch.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
60c2b53d47
Add magic field to Vector.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
7be19193d9
Use adapters during zone level iteration.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
85e7125fee
Add Vector iterator adapters.
2019-11-10 00:00:40 +01:00
Bartosz Taudul
40e9c8807d
Remove unused lambda capture.
2019-11-10 00:00:15 +01:00
Bartosz Taudul
3a317c81c6
Fix logic error.
2019-11-09 23:57:08 +01:00
Bartosz Taudul
b3698ebb0f
Merge read calls.
2019-11-09 00:48:20 +01:00
Bartosz Taudul
3e65532eaa
Add Read3(), Read4() helpers.
2019-11-09 00:27:49 +01:00
Bartosz Taudul
2131eed4e7
Support multiple types in Read2().
2019-11-09 00:25:12 +01:00
Bartosz Taudul
e80a19234e
Don't store and read compressed thread.
2019-11-09 00:23:09 +01:00
Bartosz Taudul
467d675262
Zone reads can be merged.
2019-11-09 00:08:26 +01:00
Bartosz Taudul
23c59a6fc9
Use query cache.
2019-11-08 23:59:20 +01:00
Bartosz Taudul
ec895372b7
Thread is not needed in ReadTimeline().
2019-11-08 23:56:11 +01:00
Bartosz Taudul
6ec734c264
Split ReadTimelineUpdateStatistics().
2019-11-08 23:53:43 +01:00
Bartosz Taudul
c20da5ea70
Move unimportant fields to back of FileRead class.
2019-11-08 23:31:17 +01:00
Bartosz Taudul
31e2bc1141
Free Vector's memory during move assignment.
2019-11-08 22:52:23 +01:00
Bartosz Taudul
a1488a74a1
Perform Vector's swap() as a bitwise move.
2019-11-08 22:50:22 +01:00
Bartosz Taudul
b6213cfbc5
Define Vector's max capacity in one place.
2019-11-08 22:48:44 +01:00
Bartosz Taudul
5df7444cbb
Replace djb hash with xxh3.
2019-11-07 23:52:52 +01:00
Bartosz Taudul
17ee1aed5f
Add xxhash.
...
https://github.com/Cyan4973/xxHash/tree/master
e2f4695899e831171ecd2e780078474712ea61d3
2019-11-07 23:52:12 +01:00
Bartosz Taudul
4a9138fc51
Reduce FrameEvent size by 4 bytes.
...
While it would be nice to store frame times on 48 bytes, it is not
currently possible, as older traces have full 64 bit frame time stamps,
which are only then offset to first frame start time.
2019-11-07 23:05:13 +01:00
Bartosz Taudul
675cbc51cc
Store memory free indices as 32 bit.
...
More than 4 billion memory events seems unlikely.
Memory savings in "mem" trace: 5747 MB -> 5427 MB.
2019-11-07 22:36:51 +01:00
Bartosz Taudul
bb2d44ae08
All time deltas must be processed.
2019-11-07 16:14:23 +01:00
Bartosz Taudul
ea2c329510
Input data *must not* be changed.
...
Not even for a short moment.
2019-11-07 01:29:11 +01:00
Bartosz Taudul
4a4fe82a1b
No need to inject string terminator.
...
Comparison in m_data.stringMap already takes string size into account,
as an charutil::StringKey optimization.
2019-11-07 01:28:29 +01:00
Bartosz Taudul
dfad9695d2
Compress frame image data right as it arrives.
...
This removes the need to store temporary uncompressed image buffers,
which involves constant memory allocation and freeing. Instead, just one
permanent buffer is used, and only because the input data cannot change
during processing.
2019-11-06 23:29:59 +01:00
Bartosz Taudul
46d33f45bf
Frame image packer doesn't care about width and height.
2019-11-06 22:53:01 +01:00
Bartosz Taudul
10a3516099
Delete uncompressed frame image data.
2019-11-06 22:38:19 +01:00
Bartosz Taudul
d741fb0af9
Plot can be empty if it was only configured.
2019-11-06 12:08:20 +01:00
Bartosz Taudul
df0e28a61f
Remove more unneeded includes.
2019-11-06 01:37:58 +01:00
Bartosz Taudul
f53637891a
Remove LZ4 include from TracyWorker.hpp.
2019-11-06 01:25:38 +01:00
Bartosz Taudul
5d3392428e
Remove unneeded includes.
2019-11-06 01:21:22 +01:00
Bartosz Taudul
cfce429fca
Format plot values according to requested formatting.
2019-11-05 18:08:42 +01:00
Bartosz Taudul
661c4a417b
Process and store plot value formatting.
2019-11-05 18:02:08 +01:00
Bartosz Taudul
a7a739eea9
Use precalculated context switch usage data.
2019-11-05 01:41:27 +01:00
Bartosz Taudul
51090e5fb9
Implement ctx switch usage reconstruction.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
8128b3894a
Add vector debug macro.
...
Natvis is lacking in functionality, so this has to do.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
946e328198
Fix 32-bit short_ptr.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
6a500ccdb3
Don't display CPU usage until data is ready.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
50b96c757e
Context switch usage reconstruction skeleton.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
a62c4135ad
Add context switch usage struct.
2019-11-05 01:28:44 +01:00
Bartosz Taudul
09d6f3f917
Check if CPU graph is not obscured.
2019-11-04 01:15:49 +01:00
Bartosz Taudul
9bc6a3e0ee
Add zone color boxes to parent groups in find zone menu.
2019-11-03 22:52:24 +01:00
Bartosz Taudul
209c1fdc72
Small radio buttons in find zone menu.
2019-11-03 22:32:34 +01:00
Bartosz Taudul
9b5ec8451f
Remove dead assignment.
2019-11-03 16:57:31 +01:00
Bartosz Taudul
dfc35c1bf1
Fix crashes when callstack frames are not yet available.
2019-11-03 16:44:26 +01:00
Bartosz Taudul
5620597fb4
Use short ptr in VarArray.
2019-11-03 16:29:45 +01:00
Bartosz Taudul
d9c3238462
Save 2 bytes per PlotItem.
...
Memory savings:
android 2614 MB -> 2487 MB (95%)
chicken 1932 MB -> 1852 MB (95%)
mem 6067 MB -> 5747 MB (94%)
q3bsp-mt 5059 MB -> 5017 MB (99%)
q3bsp-st 1211 MB -> 1171 MB (96%)
2019-11-03 16:29:45 +01:00
Bartosz Taudul
29dcc5c8bc
Don't zero-initialize Int48.
2019-11-03 14:33:13 +01:00
Bartosz Taudul
acce6867f1
Selecting a zone in time distribution list opens zone statistics.
2019-11-03 03:08:23 +01:00
Bartosz Taudul
13a7444f03
Add zone color boxes to time distribution table.
2019-11-02 23:14:49 +01:00
Bartosz Taudul
c294e62f5e
Add zone color boxes to child zone list.
2019-11-02 23:11:37 +01:00
Bartosz Taudul
1a6f04f6ce
Add zone color boxes to zone trace.
2019-11-02 23:05:11 +01:00
Bartosz Taudul
3a304ad054
Add zone color boxes to statistics menu.
2019-11-02 23:00:42 +01:00
Bartosz Taudul
04cb7732b8
Add zone color boxes to compare menu.
2019-11-02 22:58:50 +01:00
Bartosz Taudul
4dde1ca070
Add zone color boxes to find zone menu.
2019-11-02 22:48:00 +01:00
Bartosz Taudul
b7cd28ef72
Add source location color retriever.
2019-11-02 22:45:11 +01:00
Bartosz Taudul
4bc1588a5e
Clear proper vector.
2019-11-02 16:57:18 +01:00
Bartosz Taudul
ce82bb816b
Use short ptr for find zone grouping data.
...
Overall, the short ptr changes have the following effect on memory
usage:
big 9007 MB -> 8670 MB (96%)
chicken 2007 MB -> 1932 MB (96%)
drl-l-b 1383 MB -> 1304 MB (94%)
q3bsp-mt 5252 MB -> 5059 MB (96%)
long 5152 MB -> 4799 MB (93%)
fi-big 4141 MB -> 4000 MB (96%)
2019-11-02 16:54:12 +01:00
Bartosz Taudul
0df29d1e0b
Use short ptr for source location payload data.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
04c92f8d19
Use short ptr for callstack payload storage.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
b0e52f20f8
Use short ptr for FrameImage storage.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
72efbe28ed
Use short ptr for message data.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
52062f96d0
Use short ptr for GPU context map.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
308c280e40
Use short ptr for GPU context query data.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
1e4022e05b
Use proper comparison.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
03656b2320
Remove unused variable.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
a40bbacb17
Use short ptr for CPU zone data.
2019-11-02 16:54:12 +01:00
Bartosz Taudul
cb20bf01f9
Use short ptr for GPU zone data.
2019-11-02 16:54:11 +01:00
Bartosz Taudul
c7664b0a98
Use short ptr in LockEventPtr.
2019-11-02 16:17:45 +01:00
Bartosz Taudul
181d16459c
Use short ptr for Vector data.
2019-11-02 16:17:45 +01:00
Bartosz Taudul
ea23d2b91a
Use short ptr for frame images.
2019-11-02 15:43:32 +01:00
Bartosz Taudul
2a28c6cc72
Use short ptr for callstack frame data.
2019-11-02 15:43:32 +01:00
Bartosz Taudul
654f54d877
Add short pointer class, storing 6 bytes.
2019-11-02 15:43:32 +01:00
Bartosz Taudul
45ff14d678
Fix saving source location payload data.
2019-11-02 14:28:59 +01:00
Bartosz Taudul
16bc862904
Save sizes of children vectors to prevent reallocation.
2019-11-02 12:38:32 +01:00
Bartosz Taudul
c99dc5c431
Disable SetGpuStart() assert for compat with old traces.
...
Currently the unknown GPU start is indicated by a -1 value, but it was
maximum int value previously. While the assert check is valid for newly
created traces, it will fire off if an older trace is loaded.
Temporarily disabling the check (effectively until only 0.6 traces are
supported) fixes the problem, as the max int value (0x7f...) has its
high bits removed and the low bytes will be sign extended during number
reconstruction, making it -1, as intended.
2019-11-02 02:41:51 +01:00
Bartosz Taudul
0552d75400
Allow filtering entries in statistics menu.
2019-11-01 20:49:02 +01:00
Bartosz Taudul
f88ec0c141
Convert namespaces combo box to radio buttons.
2019-11-01 20:23:22 +01:00
Bartosz Taudul
13b656fe61
Make srcloc dynamic color depend on function name.
2019-11-01 20:17:25 +01:00
Bartosz Taudul
d38257ea90
Add zone coloring mode based on source location.
2019-11-01 02:07:55 +01:00
Bartosz Taudul
39988ad636
Check for shutdown in background processing thread.
2019-10-31 21:41:21 +01:00
Bartosz Taudul
978071f2ba
Allow grouping zones by parent.
2019-10-31 15:00:22 +01:00
Bartosz Taudul
c0df3dd965
Implement getting zone parent when thread id is known.
2019-10-31 14:59:52 +01:00
Bartosz Taudul
456deefdbc
Keep child idx on stack.
2019-10-30 23:55:21 +01:00
Bartosz Taudul
25b610a36f
Pack child into GPU start/end in GpuEvent (saves 4 bytes).
...
long 5152 MB -> 5061 MB
2019-10-30 23:50:37 +01:00
Bartosz Taudul
7319293081
Use proper scale for next time of collapsed items.
2019-10-30 23:17:46 +01:00
Bartosz Taudul
e8286600d1
Use -1 as invalid GPU start time.
2019-10-30 23:12:43 +01:00
Bartosz Taudul
7ce8c772ad
Disallow negative GPU times.
...
Shouldn't happen, but GPU timestamps are a shitshow, so better be safe
than sorry.
2019-10-30 22:37:07 +01:00
Bartosz Taudul
0ac432dd25
Better GPU time check.
2019-10-30 22:35:58 +01:00
Bartosz Taudul
ae4794ab4c
Save 2 bytes in ContextSwitchData and ContextSwitchCpu.
2019-10-30 22:25:46 +01:00
Bartosz Taudul
99d198d0bf
Pack csAlloc in MemEvent (saves 3 bytes).
...
Memory usage change on selected traces:
android 2699 MB -> 2613 MB
chicken 2019 MB -> 2007 MB
mem 6308 MB -> 6068 MB
q3bsp-mt 5283 MB -> 5252 MB
q3bsp-st 1241 MB -> 1211 MB
2019-10-30 22:01:13 +01:00
Bartosz Taudul
789b95f259
Force inline small functions.
2019-10-29 01:32:09 +01:00
Bartosz Taudul
8c8f15c420
Force inline Slab::AllocInit().
2019-10-29 01:19:40 +01:00
Bartosz Taudul
6f0dc2885f
Fix connection abort.
2019-10-28 23:32:51 +01:00
Bartosz Taudul
8050622b0f
Read and decompress network data on a separate thread.
2019-10-28 23:22:50 +01:00
Bartosz Taudul
e0356ae01e
Cosmetics.
2019-10-28 22:53:06 +01:00
Bartosz Taudul
99b7e8ad92
Close socket when shutting down.
2019-10-28 22:52:52 +01:00
Bartosz Taudul
788ca2e5df
Spawn no-op network thread.
2019-10-28 22:45:10 +01:00
Bartosz Taudul
7f07f5beb4
Free child time stack.
2019-10-26 23:32:16 +02:00
Bartosz Taudul
01985f50ef
Cache source location zones counter search.
2019-10-26 16:33:40 +02:00
Bartosz Taudul
1d0084aa28
Add cache for last accessed source location zones.
2019-10-25 21:29:55 +02:00
Bartosz Taudul
b5419944aa
Only write to memory if value has changed.
2019-10-25 21:28:55 +02:00
Bartosz Taudul
779063a18b
Cache last shrinked source location.
2019-10-25 21:07:28 +02:00
Bartosz Taudul
294793367f
Cache last CheckSourceLocation query.
...
Just knowing that the query was performed is enough here -- this
function adds a new source location entry, if there already isn't one.
2019-10-25 21:01:33 +02:00
Bartosz Taudul
0f2503d334
Send time deltas in GPU time events.
2019-10-25 19:52:01 +02:00
Bartosz Taudul
1ce25d3aef
Init cache in-place.
2019-10-25 19:19:35 +02:00
Bartosz Taudul
8fa5188176
Send delta times for context switches.
2019-10-25 19:13:11 +02:00
Bartosz Taudul
c8e5489e99
Group caches together.
2019-10-25 18:16:27 +02:00
Bartosz Taudul
29c42cc8d7
Fix assert.
2019-10-25 01:00:32 +02:00
Bartosz Taudul
17a51c898e
No need to check if vector is empty.
2019-10-25 00:54:46 +02:00
Bartosz Taudul
b5e759bc5a
Don't calculate child index twice.
2019-10-25 00:54:46 +02:00
Bartosz Taudul
70f1074490
Don't iterate over children to calculate zone self time.
2019-10-25 00:33:44 +02:00
Bartosz Taudul
d6a8a8532f
Prevent storing variable on stack.
2019-10-24 23:40:21 +02:00
Bartosz Taudul
1fe76be955
Don't reconstruct lock event time on insert.
2019-10-24 23:25:04 +02:00
Bartosz Taudul
b83d0f46d9
Improve updating last time.
...
Avoid LHS, don't write if don't need to.
2019-10-24 23:23:52 +02:00
Bartosz Taudul
721f3c8925
Callstack is already zero-initialized.
2019-10-24 23:05:39 +02:00
Bartosz Taudul
45332fd837
Don't read memory when setting values.
2019-10-24 23:03:13 +02:00
Bartosz Taudul
c9da5f1474
Use cached thread retriever.
2019-10-24 22:34:18 +02:00
Bartosz Taudul
5873561b54
Add cached thread retriever.
2019-10-24 22:33:48 +02:00
Bartosz Taudul
06bc802107
Avoid load-hit-store.
2019-10-24 22:24:00 +02:00
Bartosz Taudul
01ceedb57a
Focus out labels in connection window.
2019-10-24 00:54:19 +02:00
Bartosz Taudul
c5a6c7bf63
Display transferred data size.
2019-10-24 00:47:25 +02:00
Bartosz Taudul
1cfb5adc44
Count transferred data size.
2019-10-24 00:47:16 +02:00
Bartosz Taudul
ba61a9ed84
Transfer time deltas, not absolute times.
...
This change significantly reduces network bandwidth requirements.
Implemented for:
- CPU zones,
- GPU zones,
- locks,
- plots,
- memory events.
2019-10-24 00:06:41 +02:00
Bartosz Taudul
5c92eae3ed
Add early exit for invalid times.
2019-10-20 18:47:50 +02:00
Bartosz Taudul
d592af9c2f
Fix TRACY_NO_STATISTICS build.
2019-10-20 17:32:20 +02:00
Bartosz Taudul
5816dc2b11
Don't cache timedist data if ctx switch data is incomplete.
2019-10-20 17:03:30 +02:00
Bartosz Taudul
ccdc102d5a
Cache zone time distribution data.
2019-10-20 03:24:58 +02:00
Bartosz Taudul
4d761def61
Microoptimize comparison.
2019-10-16 20:26:39 +02:00
Bartosz Taudul
bfbd09b619
Add CPU usage graph tooltip.
2019-10-15 21:47:37 +02:00
Bartosz Taudul
7a9d4aecd3
Fix graph height calculation.
2019-10-15 21:41:06 +02:00
Bartosz Taudul
4372ad1bc3
Allow disabling CPU usage graph.
2019-10-15 21:37:16 +02:00
Bartosz Taudul
c28bab59b5
Improve look of CPU usage graph.
2019-10-15 21:20:00 +02:00
Bartosz Taudul
5aeeefefbd
Draw CPU usage graph.
2019-10-15 16:55:15 +02:00
Bartosz Taudul
3ae5c125f6
Implement counting CPU usage (ctx switch) at a given time.
2019-10-15 16:54:43 +02:00
Bartosz Taudul
3ce6b1205f
Don't iterate over 256 CPUs.
2019-10-15 16:13:53 +02:00
Bartosz Taudul
eccb0b1e4a
Track max CPU present in context switch data.
2019-10-15 16:13:53 +02:00
Bartosz Taudul
bdb8516d04
Make sure context switch end time wasn't set already.
2019-10-15 14:54:28 +02:00
Bartosz Taudul
fefa3b4693
Improve options UI.
2019-10-15 01:49:36 +02:00
Bartosz Taudul
f0c77b4ef4
Add annotation list window.
2019-10-14 20:52:18 +02:00
Bartosz Taudul
c6207ed0e9
Move extra tools to main window button bar popup.
2019-10-14 20:07:55 +02:00
Bartosz Taudul
fc7f77eb7a
Add implementation of disablable button.
2019-10-14 20:06:57 +02:00
Bartosz Taudul
6de8e6987f
Sort annotations.
2019-10-14 19:04:37 +02:00
Bartosz Taudul
5c47467c88
Fix includes.
2019-10-13 17:13:15 +02:00
Bartosz Taudul
671a8f673e
Don't interact with unfocused annotations.
2019-10-13 17:01:55 +02:00
Bartosz Taudul
e462335f83
Save/load annotations.
2019-10-13 16:29:24 +02:00
Bartosz Taudul
c2f38d0db7
Implement removal of user data files.
2019-10-13 16:29:02 +02:00
Bartosz Taudul
9d0316342d
Move Annotation struct to a proper place.
2019-10-13 16:28:40 +02:00
Bartosz Taudul
20cf1d9f83
Implement color selection for annotation region.
2019-10-13 16:14:22 +02:00
Bartosz Taudul
f9e860f559
Display annotation text on timeline.
2019-10-13 15:59:48 +02:00
Bartosz Taudul
1527e7bc10
Add annotation modification window.
2019-10-13 15:50:37 +02:00
Bartosz Taudul
5fed86dae7
Allow adding annotations to timeline.
2019-10-13 15:28:52 +02:00
Bartosz Taudul
215dc8a804
More compact GpuEvent struct (save 4 bytes).
...
Memory usage reduction of various traces:
big 9011 -> 9007
frameimages 561 -> 552
fi-big 4144 -> 4139
long 5253 -> 5125
2019-10-13 14:42:52 +02:00
Bartosz Taudul
c044df6324
Display number of GPU zones.
2019-10-13 14:21:28 +02:00
Bartosz Taudul
1ae49c14a2
GPU zone count accessor.
2019-10-13 14:13:28 +02:00
Bartosz Taudul
5e1894dd79
Count GPU zones.
2019-10-13 14:13:04 +02:00
Bartosz Taudul
d4620b4157
Fix UI.
2019-10-09 22:33:02 +02:00
Bartosz Taudul
0a358ac1f0
Time distribution may now only include running time.
2019-10-09 22:13:52 +02:00
Bartosz Taudul
6ced346e08
Different sorting modes for zone time distribution.
2019-10-09 21:42:46 +02:00
Bartosz Taudul
ed1f722c51
Display trace file name in trace info window.
2019-10-07 21:36:19 +02:00
Bartosz Taudul
4c4099877d
Track trace file name in TracyView.
2019-10-07 21:36:19 +02:00
Bartosz Taudul
c6f320d2d8
Store file name in FileRead.
2019-10-07 21:32:27 +02:00
Bartosz Taudul
1cd5ccb3c1
Display zone time distribution.
2019-10-04 21:34:00 +02:00
Bartosz Taudul
5111275770
Highlight hovered zone on the find zone zones list.
2019-10-04 13:02:26 +02:00
Bartosz Taudul
b913c17f5b
Add "no grouping" mode to find zone zones list.
2019-10-04 12:42:05 +02:00
Bartosz Taudul
f2bb933f49
Use proper background color.
2019-10-02 00:49:30 +02:00
Bartosz Taudul
3b223c64d4
Darken to background color to hide overhang.
...
This only handles the root window case. When the profiler is embedded in
other application, the window background color is not matched.
2019-10-01 23:17:36 +02:00
Bartosz Taudul
db29d309a2
Lambda capture is not needed here.
2019-10-01 22:42:43 +02:00
Bartosz Taudul
68f476834f
Make sure TracyCountBits() always returns uint64_t.
2019-10-01 22:42:29 +02:00
Bartosz Taudul
65ea33a60f
Store memory callstack data as 24-bit ints.
...
This reduces MemEvent size from 40 to 38 bytes.
Memory usage reduction:
chicken 2027 -> 2019
mem 6468 -> 6308
q3bsp-mt 5304 -> 5283
2019-10-01 22:38:17 +02:00
Bartosz Taudul
f0b957ec56
Store callstacks on 24 bits.
...
ZoneEvent is now 27 bytes.
Memory usage reduction on selected traces (sizes in MB):
big 9224 -> 9011 (97%)
chicken 2044 -> 2027 (99%)
drl-l-b 1443 -> 1383 (95%)
long 5327 -> 5253 (98%)
q3bsp-mt 5400 -> 5304 (98%)
selfprofile 1403 -> 1382 (98%)
2019-10-01 22:38:17 +02:00
Bartosz Taudul
c631e33f81
Add 24-bit int implementation.
2019-10-01 21:48:34 +02:00
Bartosz Taudul
472959b29f
Remove irrelevant comment.
2019-10-01 01:15:43 +02:00
Bartosz Taudul
717a212563
Save another 2 bytes per ZoneEvent.
...
ZoneEvent is not 28 bytes.
Memory usage reduction on selected traces (sizes in MB):
big 9527 -> 9224 (96%)
chicken 2107 -> 2044 (97%)
drl-l-b 1479 -> 1443 (97%)
long 5412 -> 5327 (98%)
q3bsp-mt 5592 -> 5400 (96%)
selfprofile 1443 -> 1403 (97%)
2019-10-01 01:05:37 +02:00
Bartosz Taudul
4964aa9547
Assert on getting index only for active strings.
2019-10-01 00:40:58 +02:00
Bartosz Taudul
acfcfb09ce
Hide context switch options, if no data is available.
2019-09-30 23:46:10 +02:00
Bartosz Taudul
0e56682964
Darkening of inactive thread regions.
2019-09-30 23:37:36 +02:00
Bartosz Taudul
6e7e8eff87
Set extreme compression level to really be extreme.
2019-09-29 21:02:01 +02:00
Bartosz Taudul
2470936050
Don't perform background tasks during trace upgrade.
2019-09-29 20:52:25 +02:00
Bartosz Taudul
d228bcb622
Pack StringIdx in 24 bits.
...
This reduces ZoneEvent size from 32 to 30 bytes.
Memory usage reduction on selected traces (sizes in MB):
big 9902 -> 9527 (96%)
chicken 2172 -> 2107 (97%)
ctx-big 311 -> 309 (99%)
drl-l-b 1570 -> 1479 (94%)
long 5496 -> 5412 (98%)
mem 6468 -> 6468 (100%)
q3bsp-mt 5784 -> 5592 (96%)
selfprofile 1486 -> 1443 (97%)
2019-09-29 20:32:42 +02:00
Bartosz Taudul
781ebeb835
Add table initializing alloc to slab allocator.
2019-09-29 20:18:16 +02:00
Bartosz Taudul
59632f0d37
One more place to check if srcloc zones are ready.
2019-09-29 20:17:47 +02:00
Bartosz Taudul
873d536845
Display number of strings.
2019-09-29 19:22:50 +02:00
Bartosz Taudul
c91ae667d1
Add string count getter.
2019-09-29 19:22:15 +02:00
Bartosz Taudul
cb6a3f3334
Highlight CPU data timeline from thread tooltip.
2019-09-29 18:55:31 +02:00
Bartosz Taudul
3b8ab5715f
Highlight CPU data timeline from CPU data window.
2019-09-29 18:53:58 +02:00
Bartosz Taudul
cafb5d6a99
Highlight threads on CPU data timeline.
2019-09-29 18:49:48 +02:00
Aleksei Skriabin
c0c2f4536a
strstr_nocase() typo fix.
2019-09-28 14:20:29 +05:00
Bartosz Taudul
c09f3c0676
Add thread color boxes to CPU data window.
2019-09-25 02:12:35 +02:00
Bartosz Taudul
6c5627d8e4
Add thread color boxes to memory allocations listings.
2019-09-24 23:58:11 +02:00
Bartosz Taudul
581fd920a1
Add thread color boxes to lock info.
2019-09-24 23:52:52 +02:00
Bartosz Taudul
12e2bcb691
Add thread color boxes to zone info windows.
2019-09-24 23:51:47 +02:00
Bartosz Taudul
ad2dd09c25
Add thread color boxes to zone tooltips.
2019-09-24 23:50:00 +02:00
Bartosz Taudul
47f81d0ba4
Add thread color box to memory plot tooltip.
2019-09-24 23:47:51 +02:00
Bartosz Taudul
9c86102bad
Add thread color box to CPU data on timeline.
2019-09-24 23:46:54 +02:00
Bartosz Taudul
a7e3324eba
Add thread color boxes to GPU context tooltips.
2019-09-24 23:45:36 +02:00
Bartosz Taudul
6ffbd00b0c
Add thread color box to crash info.
2019-09-24 23:42:25 +02:00
Bartosz Taudul
c73a74b8d5
Add thread color boxes to memory allocation info.
2019-09-24 23:41:28 +02:00
Bartosz Taudul
e9b815a3b8
Show thread color boxes in find zone menu.
2019-09-24 23:38:29 +02:00
Bartosz Taudul
06fe469598
Add thread color boxes to messages thread list.
2019-09-24 23:33:33 +02:00
Bartosz Taudul
63184f8762
Better Vulkan thread heuristics.
2019-09-24 00:55:24 +02:00
Bartosz Taudul
a5ba74ed13
Handle multiple Vulkan threads.
2019-09-23 17:27:49 +02:00
Bartosz Taudul
82cd667b30
Allow specifying network port in server.
2019-09-21 15:43:01 +02:00
Bartosz Taudul
4c736aecfa
Use fibonacci hashing to determine thread colors.
2019-09-21 14:03:42 +02:00
Bartosz Taudul
7a1fb4e0bd
Proper message when call stack trees are not available.
2019-09-21 00:57:12 +02:00
Bartosz Taudul
46f7235e32
Display proper message when there are no active allocations.
2019-09-21 00:54:30 +02:00
Bartosz Taudul
d8e0853cd8
Multithreaded frame image compression.
2019-09-20 23:03:12 +02:00
Bartosz Taudul
6f5a23a198
Add task dispatcher to server.
2019-09-20 22:58:12 +02:00
Bartosz Taudul
e1e5d6bd47
Add const version of PackFrameImage().
...
Temporary buffer needs to be handled outside of the function.
2019-09-20 22:55:55 +02:00
Bartosz Taudul
b362baed5f
Minor UI improvements.
2019-09-19 01:10:33 +02:00
Bartosz Taudul
6a0512fe16
Allow comparing frame times.
2019-09-16 22:02:47 +02:00
Bartosz Taudul
8fe9b56b6f
Calculate frame statistics.
2019-09-16 22:02:47 +02:00
Bartosz Taudul
b99675ae60
Use thread color for collapsed zones.
2019-09-16 20:34:55 +02:00
Bartosz Taudul
36b2b8f71f
Always return static thread color if dynamic colors are disabled.
2019-09-16 20:31:32 +02:00
Bartosz Taudul
5796f19a3b
Focus out exact memory plot value.
2019-09-16 20:27:16 +02:00
Bartosz Taudul
7673028dba
Fix skipping memory data.
2019-09-16 15:42:25 +02:00
Bartosz Taudul
5429f04614
Don't use source location data before it's ready.
2019-09-16 15:37:57 +02:00
Bartosz Taudul
6d00a56c61
Draw thread migrations across CPU cores.
2019-09-12 20:08:57 +02:00
Bartosz Taudul
23b6e5156b
Display thread color in thread tooltip.
2019-09-11 19:01:27 +02:00
Bartosz Taudul
2872edce5d
Use thread colors in context switch graph.
2019-09-11 18:56:54 +02:00
Bartosz Taudul
8ddafe4153
Extract color highlight functionality.
2019-09-11 18:52:25 +02:00