Bartosz Taudul
|
aac0a36a2d
|
Don't use source location zones before they are ready.
|
2019-09-07 17:23:11 +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
|
3ec534cdf3
|
Prevent "ntdll.dll" from appearing as a thread name.
|
2019-08-30 23:09:07 +02:00 |
|
Bartosz Taudul
|
1c0c6311ec
|
Fix skipping data when loading traces.
|
2019-08-30 01:16:42 +02:00 |
|
Bartosz Taudul
|
a2f968d843
|
Compress thread id in MessageData.
|
2019-08-28 21:03:01 +02:00 |
|
Bartosz Taudul
|
fd5014be6f
|
GetThreadString() is no longer used.
|
2019-08-28 20:08:16 +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
|
f76f38777e
|
Signed minus unsigned is unsigned...
|
2019-08-26 19:09:12 +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
|
19857473e3
|
Also collect information on local threads.
|
2019-08-18 14:56:17 +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
|
678e942e9f
|
Transfer PID of profiled program.
|
2019-08-17 22:19:04 +02:00 |
|
Bartosz Taudul
|
414f903cc5
|
Collect thread wakeup data.
|
2019-08-17 17:05:29 +02:00 |
|
Bartosz Taudul
|
26be78530f
|
Use signed number to calculate frame offset.
|
2019-08-17 15:22: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
|
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
|
c212661714
|
Allow determining whether thread is local to profiled program.
|
2019-08-16 17:59:25 +02:00 |
|
Bartosz Taudul
|
cef7e4b8d0
|
Save/load per-cpu context switches.
|
2019-08-16 16:51:18 +02:00 |
|
Bartosz Taudul
|
8bc4258e29
|
Display count of per-cpu context switch data.
|
2019-08-16 16:51:18 +02:00 |
|
Bartosz Taudul
|
69527d2f71
|
Collect per-cpu context switch data.
|
2019-08-16 16:51:18 +02:00 |
|
Bartosz Taudul
|
42c71d7e46
|
Fix loading old traces.
|
2019-08-16 00:24:29 +02:00 |
|
Bartosz Taudul
|
889eddd646
|
Pack ContextSwitchData. Saves 3 bytes per context switch region.
|
2019-08-15 23:53:47 +02:00 |
|
Bartosz Taudul
|
c22c259a13
|
Pack time and thread in MemEvent.
This saves 4 bytes per logged memory allocation. Memory savings for
selected traces:
android 2945 MB -> 2766 MB
chicken 2261 MB -> 2245 MB
q3bsp-mt 6085 MB -> 6043 MB
mem 6788 MB -> 6468 MB
|
2019-08-15 23:02:43 +02:00 |
|
Bartosz Taudul
|
9618ee3581
|
Fix skipping locks.
|
2019-08-15 22:24:27 +02:00 |
|
Bartosz Taudul
|
8b73dece98
|
Preserve magic time values when loading old traces.
|
2019-08-15 21:30:37 +02:00 |
|
Bartosz Taudul
|
3db3952135
|
Hackfix for broken lock terminate times.
|
2019-08-15 20:45:00 +02:00 |
|
Bartosz Taudul
|
5e20b3f28a
|
Pack time and source location in LockEvent.
|
2019-08-15 20:39:16 +02:00 |
|
Bartosz Taudul
|
bf3ad57456
|
Pack start time and srcloc together in ZoneEvent.
This reduces ZoneEvent struct size by 2 bytes. Memory savings on various
captures:
10.62 GB -> 10.29 GB
2342 MB -> 2276 MB
1706 MB -> 1635 MB
6277 MB -> 6085 MB
|
2019-08-15 20:17:36 +02:00 |
|
Bartosz Taudul
|
042e6c9e11
|
Set initial time of old traces to 0.
|
2019-08-15 20:17:36 +02:00 |
|
Bartosz Taudul
|
b322d20c19
|
Store received timestamps offset to 0.
|
2019-08-15 20:17:36 +02:00 |
|
Bartosz Taudul
|
659907c972
|
Store srcloc identifiers using 16 bit.
This reduces various structure sizes by 2 bytes. Memory usage reduction
on various traces:
big 11 GB -> 10.62 GB
chicken 2436 MB -> 2342 MB
drl-light-big 1761 MB -> 1706 MB
q3bsp-mt 6469 MB -> 6277 MB
|
2019-08-15 20:15:48 +02:00 |
|
Bartosz Taudul
|
416113fdcb
|
Drop support for ETC1 frame images.
|
2019-08-15 16:29:50 +02:00 |
|
Bartosz Taudul
|
9a364fe5fe
|
Cache context switch data queries.
|
2019-08-14 20:16:11 +02:00 |
|
Bartosz Taudul
|
3e01ca3269
|
Calculate how long thread was in running time.
|
2019-08-14 17:12:48 +02:00 |
|
Bartosz Taudul
|
0bb0c10e3c
|
Revert "Save one byte on ContextSwitchData."
Counting bits is hard, let's go shopping.
|
2019-08-14 13:55:05 +02:00 |
|
Bartosz Taudul
|
3996516fce
|
One more SetThreadName() to change.
|
2019-08-14 02:27:01 +02:00 |
|
Bartosz Taudul
|
f285e0f5cc
|
Save one byte on ContextSwitchData.
|
2019-08-13 15:16:46 +02:00 |
|
Bartosz Taudul
|
9417ad994d
|
Save/load context switch data.
|
2019-08-13 13:10:37 +02:00 |
|
Bartosz Taudul
|
1c937ad9bb
|
Implement skipping frame image data.
|
2019-08-13 02:35:32 +02:00 |
|
Bartosz Taudul
|
8c494eabbf
|
Display number of context switch regions.
|
2019-08-13 02:35:32 +02:00 |
|
Bartosz Taudul
|
0b03fed61c
|
Add context switch accessor.
|
2019-08-13 02:35:32 +02:00 |
|
Bartosz Taudul
|
419f74280d
|
Store context switches.
|
2019-08-13 02:35:32 +02:00 |
|