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
38bfae13dd
Add helper function for opening files.
2019-08-28 19:28:31 +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
3c092b4bec
Add thread name getter combining local and external thread names.
2019-08-27 23:00:13 +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
f76f38777e
Signed minus unsigned is unsigned...
2019-08-26 19:09:12 +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
21e7a4bb16
Extract thread compression into a separate class.
2019-08-19 22:56:58 +02:00
Bartosz Taudul
94382f54ca
Move FileVersion() to TracyFileHeader.hpp.
2019-08-19 22:56:58 +02:00
Bartosz Taudul
e60b2884f4
Mark local threads with different color.
2019-08-18 14:57:44 +02:00
Bartosz Taudul
19857473e3
Also collect information on local threads.
2019-08-18 14:56:17 +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
3b8518f7b6
Save/load CPU thread data.
2019-08-18 01:53:38 +02:00
Bartosz Taudul
62dbe522c5
Add accessors.
2019-08-18 01:51:02 +02:00
Bartosz Taudul
103645c2fa
Calculate cpu thread data statistics.
2019-08-18 01:50:49 +02:00
Bartosz Taudul
1498417a8d
Save/load tid to pid mapping.
2019-08-17 22:36:21 +02:00
Bartosz Taudul
20e8a5ecc8
Create tid to pid mapping.
2019-08-17 22:32:41 +02:00
Bartosz Taudul
fa573ef4cf
Display PID.
2019-08-17 22:21:02 +02:00
Bartosz Taudul
678e942e9f
Transfer PID of profiled program.
2019-08-17 22:19:04 +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
Bartosz Taudul
0ea8789f39
Display CPU core in waking up thread popup.
2019-08-17 21:24:40 +02:00
Bartosz Taudul
414f903cc5
Collect thread wakeup data.
2019-08-17 17:05:29 +02:00
Bartosz Taudul
f957f64ce1
No magic numbers.
2019-08-17 16:26:59 +02:00
Bartosz Taudul
26be78530f
Use signed number to calculate frame offset.
2019-08-17 15:22:54 +02:00
Bartosz Taudul
65e62dea06
Display thread ids next to thread names in CPU data.
2019-08-17 03:06:54 +02:00
Bartosz Taudul
6c53cac15e
Fix uninitialized variable.
2019-08-16 21:20:04 +02:00
Bartosz Taudul
e975c4d7bf
Also retrieve external thread names.
2019-08-16 19:49:16 +02:00
Bartosz Taudul
134a8c5d2a
Fix positioning.
2019-08-16 19:32:25 +02:00
Bartosz Taudul
edd5338faa
Display untracked threads.
2019-08-16 19:30:46 +02:00
Bartosz Taudul
ccaf92afc4
Save/load external process names.
2019-08-16 19:24:38 +02:00
Bartosz Taudul
fe7f56b022
Implement retrieval of external process names.
2019-08-16 19:22:23 +02:00
Bartosz Taudul
56e6795c76
Add per-cpu context switch tooltips.
2019-08-16 18:39:03 +02:00