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
|
3b8518f7b6
|
Save/load CPU thread data.
|
2019-08-18 01:53:38 +02:00 |
|
Bartosz Taudul
|
103645c2fa
|
Calculate cpu thread data statistics.
|
2019-08-18 01:50:49 +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
|
69527d2f71
|
Collect per-cpu context switch data.
|
2019-08-16 16:51:18 +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
|
e43a57f6b3
|
Remove irrelevant comments.
|
2019-08-15 21:51:47 +02:00 |
|
Bartosz Taudul
|
a635e54a79
|
Pack MessageData.
|
2019-08-15 21:42:24 +02:00 |
|
Bartosz Taudul
|
04c8830f86
|
Cosmetics.
|
2019-08-15 21:38:00 +02:00 |
|
Bartosz Taudul
|
45401fc54c
|
Use proper variable name.
|
2019-08-15 21:34:19 +02:00 |
|
Bartosz Taudul
|
c9d7b96c81
|
Prevent int16_t -> int64_t promotion on negative numbers.
|
2019-08-15 20:58:16 +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
|
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
|
32c7d13159
|
Count size of some more structures.
|
2019-08-15 14:15:40 +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
|
f285e0f5cc
|
Save one byte on ContextSwitchData.
|
2019-08-13 15:16:46 +02:00 |
|
Bartosz Taudul
|
419f74280d
|
Store context switches.
|
2019-08-13 02:35:32 +02:00 |
|
Bartosz Taudul
|
8aa0be39d5
|
Drop support for CPU id queries.
|
2019-08-12 23:05:34 +02:00 |
|
Bartosz Taudul
|
de953bfaa8
|
Use proper data type for callstack storage in GPU zones.
|
2019-06-22 14:04:27 +02:00 |
|
Bartosz Taudul
|
37d1457b44
|
Frame image may need flipping.
|
2019-06-12 15:28:32 +02:00 |
|
Bartosz Taudul
|
eb6ac5e6e1
|
Store frame reference in frame images.
|
2019-06-12 00:55:02 +02:00 |
|
Bartosz Taudul
|
bef1988800
|
Compress frame images using LZ4.
|
2019-06-08 12:17:18 +02:00 |
|
Bartosz Taudul
|
34b84bb284
|
Add frame image index to frame data.
|
2019-06-06 21:44:48 +02:00 |
|
Bartosz Taudul
|
e5bb6011c5
|
Frame image transfer prototype.
|
2019-06-06 21:39:54 +02:00 |
|
Bartosz Taudul
|
0da1e8551f
|
Track lock contention status.
|
2019-05-12 16:17:17 +02:00 |
|
Bartosz Taudul
|
4850e19ebd
|
Store color in message data.
|
2019-05-10 20:26:27 +02:00 |
|
Bartosz Taudul
|
a7886cf82c
|
Replace linear search with hash lookup.
|
2019-04-03 16:24:16 +02:00 |
|
Bartosz Taudul
|
7e6a8135df
|
Remove double indirection in GetNextLockEvent().
|
2019-03-16 14:18:43 +01:00 |
|
Bartosz Taudul
|
4d66317bc3
|
Add per-thread time ranges to lock maps.
|
2019-03-16 02:50:51 +01:00 |
|
Bartosz Taudul
|
9fc022346b
|
Replace frame pointers with callstack frame ids.
|
2019-03-03 18:05:03 +01:00 |
|
Bartosz Taudul
|
1feedb17ac
|
Add callstack frame identifier and the required plumbing.
|
2019-03-03 18:05:03 +01:00 |
|
Bartosz Taudul
|
e190faa7e1
|
Save/load CPU usage plot.
|
2019-02-21 22:56:59 +01:00 |
|
Bartosz Taudul
|
e9baa80bf3
|
Process CPU usage reports.
|
2019-02-21 22:56:59 +01:00 |
|
Bartosz Taudul
|
b945f83169
|
Don't separate inclusive/exclusive counts.
There is no way for one frame to have both. Coloring is preserved and is
now determined by presence of children.
|
2019-02-06 22:36:21 +01:00 |
|
Bartosz Taudul
|
ddad475c19
|
Make it possible to store multiple frames at single frame address.
|
2019-01-20 19:11:48 +01:00 |
|
Bartosz Taudul
|
dcc6bee607
|
Process zone validation messages.
|
2019-01-14 22:56:10 +01:00 |
|
Bartosz Taudul
|
9360df89b1
|
Store announce and terminate time of locks.
|
2018-12-16 21:07:26 +01:00 |
|
Bartosz Taudul
|
9301986bae
|
Collect callstacks for each entry in call stack tree.
|
2018-09-27 22:56:44 +02:00 |
|
Bartosz Taudul
|
3b526b074e
|
Send crash report.
|
2018-08-20 02:23:55 +02:00 |
|
Bartosz Taudul
|
df14cf5330
|
Implement callstack tree of memory allocations.
|
2018-08-14 18:37:06 +02:00 |
|
Bartosz Taudul
|
9d051cf5ee
|
Add support for discontinuous frames.
|
2018-08-05 02:15:54 +02:00 |
|
Bartosz Taudul
|
23dfc2e3fc
|
Multiple frame sets support.
|
2018-08-04 21:10:45 +02:00 |
|
Bartosz Taudul
|
7d7877517e
|
Also remove child vectors from GPU events.
|
2018-07-22 19:47:01 +02:00 |
|
Bartosz Taudul
|
3a934b2ba3
|
Store children vectors in a separate data collection.
This reduces per-zone memory cost by 9 bytes if there are no children
and increases it by 4 bytes, if there are children. This is universally
a better solution, as the following data shows:
+++ /home/wolf/desktop/tracy-old/android.tracy +++
Vectors: 2794480
Size 0: 2373070 (84.92%)
Size 1: 70237 (2.51%)
Size 2+: 351173 (12.57%)
+++ /home/wolf/desktop/tracy-old/asset-new.tracy +++
Vectors: 1799227
Size 0: 1482691 (82.41%)
Size 1: 93272 (5.18%)
Size 2+: 223264 (12.41%)
+++ /home/wolf/desktop/tracy-old/asset-new-id.tracy +++
Vectors: 1977996
Size 0: 1640817 (82.95%)
Size 1: 97198 (4.91%)
Size 2+: 239981 (12.13%)
+++ /home/wolf/desktop/tracy-old/asset-old.tracy +++
Vectors: 1782395
Size 0: 1471437 (82.55%)
Size 1: 88813 (4.98%)
Size 2+: 222145 (12.46%)
+++ /home/wolf/desktop/tracy-old/big.tracy +++
Vectors: 180794047
Size 0: 172696094 (95.52%)
Size 1: 2799772 (1.55%)
Size 2+: 5298181 (2.93%)
+++ /home/wolf/desktop/tracy-old/darkrl.tracy +++
Vectors: 12014129
Size 0: 11611324 (96.65%)
Size 1: 134980 (1.12%)
Size 2+: 267825 (2.23%)
+++ /home/wolf/desktop/tracy-old/mem.tracy +++
Vectors: 383097
Size 0: 321932 (84.03%)
Size 1: 854 (0.22%)
Size 2+: 60311 (15.74%)
+++ /home/wolf/desktop/tracy-old/new.tracy +++
Vectors: 77536
Size 0: 63035 (81.30%)
Size 1: 8886 (11.46%)
Size 2+: 5615 (7.24%)
+++ /home/wolf/desktop/tracy-old/selfprofile.tracy +++
Vectors: 22940871
Size 0: 22704868 (98.97%)
Size 1: 73000 (0.32%)
Size 2+: 163003 (0.71%)
+++ /home/wolf/desktop/tracy-old/tbrowser.tracy +++
Vectors: 962682
Size 0: 695380 (72.23%)
Size 1: 43007 (4.47%)
Size 2+: 224295 (23.30%)
+++ /home/wolf/desktop/tracy-old/virtualfile_hc.tracy +++
Vectors: 529170
Size 0: 449386 (84.92%)
Size 1: 15694 (2.97%)
Size 2+: 64090 (12.11%)
+++ /home/wolf/desktop/tracy-old/zfile_hc.tracy +++
Vectors: 264849
Size 0: 220589 (83.29%)
Size 1: 9386 (3.54%)
Size 2+: 34874 (13.17%)
|
2018-07-22 16:05:50 +02:00 |
|
Bartosz Taudul
|
053284b1c7
|
Process custom free-form zone names.
|
2018-06-29 16:12:17 +02:00 |
|
Bartosz Taudul
|
4a467b6d03
|
Remove GPU resync leftovers.
|
2018-06-28 00:48:23 +02:00 |
|