Bartosz Taudul
a5a6b11b63
Zones can now have dynamic colors.
2019-09-08 14:33:30 +02:00
Bartosz Taudul
2714152f84
Allow calculating zone depth.
2019-09-08 14:16:12 +02:00
Bartosz Taudul
c9a1d3d7e5
Display zone color in zone info window.
2019-09-08 13:19:43 +02:00
Bartosz Taudul
b7522ec4c1
Allow getting zone color sans higlights, etc.
2019-09-08 13:16:00 +02:00
Bartosz Taudul
17e6a97552
Let's leave this here.
2019-09-07 17:49:54 +02:00
Bartosz Taudul
a0814a2e5c
Correctly calculate discontinuous frames time.
2019-09-07 17:39:39 +02:00
Bartosz Taudul
aac0a36a2d
Don't use source location zones before they are ready.
2019-09-07 17:23:11 +02:00
Bartosz Taudul
3449f0777e
Display zone time on frames plot.
2019-09-07 16:55:49 +02:00
Bartosz Taudul
0b1a6047f6
Add different highlight for zones selected on histogram.
2019-09-07 15:33:11 +02:00
Bartosz Taudul
57a2b62edc
Display number of threads for pids in CPU data list.
2019-09-04 01:43:56 +02:00
Bartosz Taudul
aa2530d442
Display external thread name (if applicable) on CPU data timeline.
2019-08-31 19:37:05 +02:00
Bartosz Taudul
86cb477811
Pack ZoneThreadData.
...
This reduces struct size from 10 to 8 bytes. Assumes 48-bit pointers
(4-level paging)!
Memory savings (MB):
android 2766 -> 2757 (99%)
big 10.29 G -> 9902 (96%)
chicken 2244 -> 2172 (96%)
ctx-android 228 -> 224 (98%)
drl-l-b 1635 -> 1570 (96%)
gn-vulkan 244 -> 240 (98%)
long 5656 -> 5496 (97%)
q3bsp-mt 6043 -> 5784 (95%)
selfprofile 1554 -> 1486 (95%)
2019-08-31 00:55:51 +02:00
Bartosz Taudul
217a3781e6
Fix possible wrong process name for pid 0.
2019-08-30 00:59:54 +02:00
Bartosz Taudul
5e8b2a0723
Display wakeup times in zone wait regions list.
2019-08-28 23:03:16 +02:00
Bartosz Taudul
6f25ad5fcb
Save per-trace options.
2019-08-28 21:35:08 +02:00
Bartosz Taudul
fc5293b1ae
Only scroll message list to bottom if capture is live.
2019-08-28 21:04:28 +02:00
Bartosz Taudul
a2f968d843
Compress thread id in MessageData.
2019-08-28 21:03:01 +02:00
Bartosz Taudul
ede26b0caf
Fix skipping zone levels.
2019-08-28 20:47:19 +02:00
Bartosz Taudul
85027c185d
Extract notification area drawing to a separate function.
2019-08-28 20:27:39 +02:00
Bartosz Taudul
a8eb99efcc
Add notification icons when a drawing a category is disabled.
2019-08-28 20:24:14 +02:00
Bartosz Taudul
5b0ccef373
Change some icons.
2019-08-28 20:17:38 +02:00
Bartosz Taudul
28a20e631e
Preserve frame graph position and scale.
2019-08-28 19:52:36 +02:00
Bartosz Taudul
17d4a82ca5
Preserve timeline vertical scroll position.
2019-08-28 19:49:27 +02:00
Bartosz Taudul
f37797db44
Save/load view state.
2019-08-28 19:45:22 +02:00
Bartosz Taudul
dc5444ff0f
Notify UserData that view state should be preserved.
...
This is only active when a trace is loaded from a file (and state should
be persistent for future sessions using this trace), or when state is
saved to a file (so that future sessions will use current state).
No state is preserved by default, i.e. when the trace was not saved to a
file.
2019-08-28 19:37:01 +02:00
Bartosz Taudul
949c9cb121
Move some view data to a separate structure.
2019-08-28 19:35:54 +02:00
Bartosz Taudul
2a0d6ce4ad
Add notification area indicator for hidden timeline items.
2019-08-28 18:36:05 +02:00
Bartosz Taudul
ed83762a1a
Keep things simple.
2019-08-28 01:29:58 +02:00
Bartosz Taudul
ef287c8aab
Display external thread names of profiled program on CPU data timeline.
2019-08-27 23:17:53 +02:00
Bartosz Taudul
8eb7220dd7
Use the new thread name getter.
2019-08-27 23:08:14 +02:00
Bartosz Taudul
f8e3d1ad0a
Try to fix current program's thread names.
...
External thread names can be cut-off to include only the first 15-or-so
characters. If a local thread name is known and its beginning matches
the external name, use the local name instead.
2019-08-27 22:41:03 +02:00
Bartosz Taudul
8bb13ca09e
Use captured program name in CPU data.
...
This fixes android application names, which are cut to show only last
15-or-so letters.
2019-08-27 22:35:53 +02:00
Bartosz Taudul
eb78ecd0fd
Display frame number in playback window.
2019-08-26 19:01:59 +02:00
Bartosz Taudul
3e4d3efbdb
Extract frame number getter.
2019-08-26 19:01:51 +02:00
Bartosz Taudul
e5a11ad593
Allow sorting CPU data table by different columns.
2019-08-25 00:17:06 +02:00
Bartosz Taudul
4376757912
Display thread ids in options menu.
2019-08-24 23:43:36 +02:00
Bartosz Taudul
2b9ec14c92
Display threads ids as base-10 numbers.
2019-08-24 23:41:33 +02:00
Bartosz Taudul
1712431dfd
Compress external threads. Saves 4 bytes per ctx switch.
...
Dropped support for loading context switch data in previous versions of
traces.
2019-08-19 23:09:58 +02:00
Bartosz Taudul
e60b2884f4
Mark local threads with different color.
2019-08-18 14:57:44 +02:00
Bartosz Taudul
9a3974b8f1
Display process times in graphical form.
2019-08-18 14:51:25 +02:00
Bartosz Taudul
2eed28b19f
Highlight current process.
2019-08-18 14:46:59 +02:00
Bartosz Taudul
ae9cae781a
Display CPU migrations percentage.
2019-08-18 14:44:00 +02:00
Bartosz Taudul
691fe06bfe
Compare pids to determine if thread is local untracked.
2019-08-18 14:40:04 +02:00
Bartosz Taudul
95f4162870
Display number of tracked processes.
2019-08-18 14:30:52 +02:00
Bartosz Taudul
7a036b56b1
Add icon to CPU data button.
2019-08-18 14:30:01 +02:00
Bartosz Taudul
c5060da185
Display unknown pid as unknown.
2019-08-18 14:28:56 +02:00
Bartosz Taudul
faac08865a
Display basic information about CPU usage.
2019-08-18 12:28:38 +02:00
Bartosz Taudul
fa573ef4cf
Display PID.
2019-08-17 22:21:02 +02:00
Bartosz Taudul
1024992493
React to enter key in "go to frame" dialog.
2019-08-17 22:01:06 +02:00
Bartosz Taudul
258cf38d64
Fix flicker.
2019-08-17 21:59:08 +02:00