Bartosz Taudul
bcf2bf1c5c
Shared lock events (still using old functionality).
2017-12-10 22:04:49 +01:00
Bartosz Taudul
3567d7edd8
Reintroduce lock announce events.
2017-12-10 21:40:48 +01:00
Bartosz Taudul
6942f84a99
Last time is now cached, not calculated.
2017-12-09 20:05:34 +01:00
Bartosz Taudul
081087b9ce
Drop an indirection level in plots.
2017-12-05 21:24:09 +01:00
Bartosz Taudul
dd8694350e
Add zoom-to-range animation.
2017-11-27 22:41:30 +01:00
Bartosz Taudul
ba80b0c16a
Use one common function for zooming to range.
2017-11-27 22:12:26 +01:00
Bartosz Taudul
cd26a6f8ff
Improve text legibility by drawing text shadow.
2017-11-25 15:45:16 +01:00
Bartosz Taudul
a515bf8878
Perform GPU to CPU resynchronization on each collect event.
2017-11-25 13:33:57 +01:00
Bartosz Taudul
f2a19c4593
Use flat_hash_map for source location payload map.
2017-11-24 01:10:12 +01:00
Bartosz Taudul
7a13892754
Split srcloc check and creation.
2017-11-24 01:05:42 +01:00
Bartosz Taudul
184039d500
One check in CheckSourceLocation.
2017-11-24 00:53:04 +01:00
Bartosz Taudul
ccb39ad4bd
Just one early exit check in CheckString/CheckThreadString.
2017-11-24 00:45:55 +01:00
Bartosz Taudul
79dec4eafe
Display compression ratio and uncompressed data throughput.
2017-11-23 01:23:40 +01:00
Bartosz Taudul
5d7fd5805a
Don't hash pointers and such.
2017-11-22 00:23:43 +01:00
Bartosz Taudul
d5ea8a86a4
Remove GPU context indirection.
2017-11-21 02:10:41 +01:00
Bartosz Taudul
63c070228c
Remove indirection in plot storage.
2017-11-21 02:06:17 +01:00
Bartosz Taudul
59c7cf2bcd
Force inline functions that have single path of execution.
2017-11-19 20:01:39 +01:00
Bartosz Taudul
47c23c9066
Force inline NewZone.
2017-11-19 19:39:25 +01:00
Bartosz Taudul
c1a79c0622
Force inline checker functions.
2017-11-19 19:23:07 +01:00
Bartosz Taudul
7a4c6b3d68
Split heavy used functions into check and add parts.
2017-11-19 17:58:56 +01:00
Bartosz Taudul
ff35f2960a
Remove a level of indirection.
2017-11-19 16:27:23 +01:00
Bartosz Taudul
b3e0d2660d
Properly use zone stack when inserting new zones.
...
CPU zones stack was also moved to thread data struct.
2017-11-19 01:16:21 +01:00
Bartosz Taudul
68f8bb906e
New context events are not serialized.
2017-11-18 01:49:44 +01:00
Bartosz Taudul
abd0676cea
Use flat_hash_map.
2017-11-15 23:15:59 +01:00
Bartosz Taudul
13d8d9255e
Use benaphore instead of mutex.
2017-11-15 21:49:41 +01:00
Bartosz Taudul
7187e1e5f5
Some strings are always indices.
...
This saves 4 bytes.
2017-11-15 10:56:27 +01:00
Bartosz Taudul
8b2af369ad
Store zone text in StringRef. Use name from source location.
2017-11-15 10:56:27 +01:00
Bartosz Taudul
c43eb29ce0
Don't send source location pointer in query reply.
...
Since reply order is the same as the query order, the server already
knows what source location it receives. This observation allows placing
zone name into the source location struct.
2017-11-14 23:06:45 +01:00
Bartosz Taudul
5c872b2137
Simplify GPU context handling.
2017-11-14 00:48:26 +01:00
Bartosz Taudul
cff8f9ebd7
GPU zone highlight.
2017-11-12 01:28:07 +01:00
Bartosz Taudul
e40f029b19
GPU info window.
2017-11-12 01:25:44 +01:00
Bartosz Taudul
dcc2b3fb09
Save/load GPU events.
2017-11-12 01:12:28 +01:00
Bartosz Taudul
d61e03f879
Show when GPU commands were issued.
2017-11-11 23:13:54 +01:00
Bartosz Taudul
af81d999e9
Draw GPU zones.
2017-11-11 22:56:05 +01:00
Bartosz Taudul
7ebaa46f75
GPU time transfer.
2017-11-11 22:08:47 +01:00
Bartosz Taudul
6fcdb924e8
CPU-side GPU event transfer.
2017-11-11 21:09:48 +01:00
Bartosz Taudul
3c00ce0958
GPU context registration.
2017-11-11 19:44:09 +01:00
Bartosz Taudul
ce35009c63
Move structs out of TracyView.
2017-11-11 19:21:25 +01:00
Bartosz Taudul
81735aea2f
Support for setting zone names in lua.
2017-11-11 17:56:41 +01:00
Bartosz Taudul
59ec40c045
Preemptive transfer of source location payload.
2017-11-11 15:59:30 +01:00
Bartosz Taudul
7f3b8f4647
Preemptive message text delivery.
2017-11-11 15:41:21 +01:00
Bartosz Taudul
76e11174dc
Preemptive sending of custom strings.
2017-11-11 15:22:55 +01:00
Bartosz Taudul
ca4483ecf5
Prevent source location payload duplication.
2017-11-11 02:31:51 +01:00
Bartosz Taudul
24084cbcd2
Standard way of string reference storage in SourceLocation.
...
StringRef::isptr was changed to isidx, as initialization of empty
SourceLocation zeroes the struct.
2017-11-11 02:02:47 +01:00
Bartosz Taudul
947cd04e5e
General solution for string pointer/index problem.
2017-11-11 01:39:34 +01:00
Bartosz Taudul
96ce90c6ed
Common storage for plot names.
2017-11-10 19:41:37 +01:00
Bartosz Taudul
5ec3ccd595
Store m_strings in common string storage.
2017-11-10 19:30:17 +01:00
Bartosz Taudul
b28fdc94ce
Use common string storage for thread names.
2017-11-10 19:24:12 +01:00
Bartosz Taudul
1baf7faf8f
Construct temporary in-place string.
2017-11-10 19:15:00 +01:00
Bartosz Taudul
51459d724c
Don't use std::string to pass strings.
2017-11-10 18:39:43 +01:00
Bartosz Taudul
8e78e38334
String map is not needed when reading timeline.
2017-11-10 18:22:41 +01:00
Bartosz Taudul
2887753b5d
Separate custom string processing from string storage.
2017-11-10 17:45:19 +01:00
Bartosz Taudul
f6af913fd3
Remove ability to disable LZ4 compression.
2017-11-10 17:34:11 +01:00
Bartosz Taudul
44ee282b6e
Store custom strings in an addressable vector.
2017-11-10 17:13:30 +01:00
Bartosz Taudul
c6a7bcb086
Store source location payloads.
...
No saving yet. No detection of duplicate entries.
2017-11-05 21:24:50 +01:00
Bartosz Taudul
8178b61973
Wrap access to source location function and file.
2017-11-05 21:03:08 +01:00
Bartosz Taudul
3d2450fc10
Store source locations in a proper data structure.
2017-11-05 20:54:49 +01:00
Bartosz Taudul
bc77aa8d26
Source location payload transfer. No storage yet.
2017-11-05 16:46:00 +01:00
Bartosz Taudul
0fb5f012ce
Lua profiling framework. No source location transfer yet.
2017-11-05 15:06:28 +01:00
Bartosz Taudul
39ac41bc19
Store source location on 32 bits, not 64.
2017-10-28 22:14:01 +02:00
Bartosz Taudul
2a6ccf8ee9
Fix some warnings.
2017-10-28 21:50:06 +02:00
Bartosz Taudul
5ebbf83eb3
Time variables should be signed.
2017-10-28 21:36:47 +02:00
Bartosz Taudul
339c177ee8
Sort lock map.
...
It is displayed in UI, so order is important.
2017-10-24 22:30:43 +02:00
Bartosz Taudul
73d23320ee
Move string helper functions out of tracy::View.
2017-10-22 17:47:40 +02:00
Bartosz Taudul
cc8683a399
Store TextData pointer as an index in array.
...
This further reduces ZoneEvent size by 4 bytes.
2017-10-22 16:40:15 +02:00
Bartosz Taudul
2e6350877d
Remove parent pointer from ZoneEvent.
2017-10-22 16:15:27 +02:00
Bartosz Taudul
b72d4b05de
Remove dead code.
2017-10-22 15:40:56 +02:00
Bartosz Taudul
7345ca5aa6
Rename Event to ZoneEvent.
2017-10-22 15:37:24 +02:00
Bartosz Taudul
97b3cccb1a
64MB slab size.
2017-10-22 15:36:22 +02:00
Bartosz Taudul
5b20f0008f
Optional namespace shortening.
2017-10-22 13:56:05 +02:00
Bartosz Taudul
caec31731f
Add ability to hide uncontended locks.
2017-10-22 13:32:27 +02:00
Bartosz Taudul
92a38a43d5
Add ability to hide individual locks.
2017-10-22 13:26:11 +02:00
Bartosz Taudul
ba5312f429
Ability to completely hide plots.
2017-10-22 13:17:34 +02:00
Bartosz Taudul
133db4c68e
Ability to completely hide threads.
2017-10-22 13:13:26 +02:00
Bartosz Taudul
bd8d423d16
Use small temporary buffer instead of growing one.
2017-10-21 14:27:38 +02:00
Bartosz Taudul
c28b3a420f
Delay insertion of postponed plot items.
...
This further reduces number of memmoves that need to be performed on a
vector, which results in net increased throughput.
2017-10-21 13:32:51 +02:00
Bartosz Taudul
75e3dd175a
One function for adding threads.
2017-10-21 13:14:20 +02:00
Bartosz Taudul
807d3c42be
Use slab allocator for server allocations.
2017-10-21 13:01:57 +02:00
Bartosz Taudul
ad338a7cfd
Fix message literals.
2017-10-21 12:39:26 +02:00
Bartosz Taudul
b7800be627
Perform bulk insertion of plot points.
2017-10-19 23:26:21 +02:00
Bartosz Taudul
44cc0827d4
Store pointers to PlotItems.
2017-10-19 21:04:11 +02:00
Bartosz Taudul
6e4343c043
Use custom vector to store plot items.
2017-10-19 20:14:31 +02:00
Bartosz Taudul
0519df4dfc
Reduce accuracy to decrease memory load.
2017-10-19 19:56:13 +02:00
Bartosz Taudul
fd22fed773
Manually manage temporary plot buffer.
2017-10-19 19:09:40 +02:00
Bartosz Taudul
6e5ccf8391
Store values, not pointers to PlotItems.
2017-10-19 18:28:11 +02:00
Bartosz Taudul
8958780b18
Time must be signed.
2017-10-18 23:36:50 +02:00
Bartosz Taudul
4f3a64be9d
Optimize drawing plots.
2017-10-18 22:29:59 +02:00
Bartosz Taudul
ac71622c0c
Add separators to printed values.
2017-10-18 20:33:49 +02:00
Bartosz Taudul
cdde2ea2a3
Cut off trailing zeros when printing floating point values.
2017-10-18 20:18:33 +02:00
Bartosz Taudul
7c47edc64f
Terminate connection handshake.
2017-10-18 18:48:51 +02:00
Bartosz Taudul
acc1d9d834
Measurement of time period by LMB dragging.
2017-10-15 16:42:56 +02:00
Bartosz Taudul
5b9fcddfb3
String literal message transfer.
2017-10-15 13:06:49 +02:00
Bartosz Taudul
ad95813ba0
Message highlighting.
2017-10-14 15:47:06 +02:00
Bartosz Taudul
317b23c7c3
Assign messages to threads.
2017-10-14 14:46:03 +02:00
Bartosz Taudul
3ba349565a
Message list window.
2017-10-14 14:36:30 +02:00
Bartosz Taudul
fa8030009f
Store messages.
2017-10-14 14:28:04 +02:00
Bartosz Taudul
1aaab3c5e4
Use 32 bits to store lock id.
...
This makes queue item size 32 bytes. Queue operations can now be faster,
because multiplication by 33 is replaced by shift by 5.
2017-10-13 20:05:38 +02:00
Bartosz Taudul
40d7a26b37
Allow hiding plots.
2017-10-13 15:41:20 +02:00
Bartosz Taudul
591fbdf75a
Store min, max values in plot.
2017-10-13 15:32:59 +02:00
Bartosz Taudul
d1c43ef917
Draw vertical line on mouse position in zone view.
2017-10-13 15:26:18 +02:00