Commit Graph

433 Commits

Author SHA1 Message Date
Bartosz Taudul
2e88f30e15 Display number of lock events in tooltip. 2017-11-25 13:48:03 +01:00
Bartosz Taudul
a515bf8878 Perform GPU to CPU resynchronization on each collect event. 2017-11-25 13:33:57 +01:00
Bartosz Taudul
0100266234 Use consistent names. 2017-11-25 13:14:16 +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
48624f29f7 Optimize searches. 2017-11-21 02:28:46 +01:00
Bartosz Taudul
a7e85c5b76 No need to populate string map when loading dump. 2017-11-21 02:16:58 +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
dca6cf0aa5 Use push_back_non_empty where appropriate. 2017-11-20 02:14:18 +01:00
Bartosz Taudul
7bf6bbbb94 Use back_and_pop in GPU zone processing. 2017-11-20 02:04:45 +01:00
Bartosz Taudul
19db1a3f1f Optimize UpdateLockCount. 2017-11-19 19:35:16 +01:00
Bartosz Taudul
94bd563753 Back-and-pop operation on Vector. 2017-11-19 19:17:54 +01:00
Bartosz Taudul
a4e909a740 Fix braino. 2017-11-19 19:13:43 +01:00
Bartosz Taudul
7a4c6b3d68 Split heavy used functions into check and add parts. 2017-11-19 17:58:56 +01:00
Bartosz Taudul
89448b473e Don't check for nullptr, if already know there isn't one. 2017-11-19 17:28:12 +01:00
Bartosz Taudul
ff35f2960a Remove a level of indirection. 2017-11-19 16:27:23 +01:00
Bartosz Taudul
0770ed8ee6 Optimize ptr walking. 2017-11-19 13:22:08 +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
17fdd2bcbf Zone tooltip cosmetics. 2017-11-18 13:47:05 +01:00
Bartosz Taudul
ac68cde9f3 Render zero nanosecond zones. 2017-11-18 13:40:49 +01:00
Bartosz Taudul
68f8bb906e New context events are not serialized. 2017-11-18 01:49:44 +01:00
Bartosz Taudul
f73e8aaa59 Display thread zone counts. 2017-11-18 01:14:55 +01:00
Bartosz Taudul
429b44ca54 Add separators to GPU zone counts. 2017-11-18 01:14:50 +01:00
Bartosz Taudul
123de74fca Thread thread zone count. 2017-11-18 01:14:16 +01:00
Bartosz Taudul
cc3d18d51d Count GPU zones. 2017-11-18 01:07:28 +01:00
Bartosz Taudul
cd275fee9d Thread information window. 2017-11-18 01:03:40 +01:00
Bartosz Taudul
b6079f8c9a Display number of top-level zones. 2017-11-18 01:03:32 +01:00
Bartosz Taudul
4ba40016ce Display GPU context appearance info. 2017-11-18 00:56:05 +01:00
Bartosz Taudul
82edca301f Tooltip cosmetics. 2017-11-18 00:51:04 +01:00
Bartosz Taudul
18252feeeb Display GPU context information tooltip. 2017-11-18 00:34:16 +01:00
Bartosz Taudul
1a4889116e Store GPU accuracy bits info. 2017-11-18 00:34:16 +01:00
Bartosz Taudul
515443605d memset on non-POD data is UB. 2017-11-16 02:19:52 +01:00
Bartosz Taudul
e579374504 Remove unused variable. 2017-11-16 00:35:04 +01:00
Bartosz Taudul
c4ca6f8205 Proper initialization order. 2017-11-16 00:33:10 +01:00
Bartosz Taudul
3f5603ad96 Use global lock for processing of incoming events. 2017-11-15 22:33:11 +01:00
Bartosz Taudul
a3ba188af5 Manual initialization of GpuEvents. 2017-11-15 22:21:02 +01:00
Bartosz Taudul
afa9eec5dd Manual ZoneEvent vector initialization. 2017-11-15 22:13:23 +01:00
Bartosz Taudul
13d8d9255e Use benaphore instead of mutex. 2017-11-15 21:49:41 +01:00
Bartosz Taudul
1445341068 Don't try to draw GPU zones with no timing data. 2017-11-15 10:56:28 +01:00
Bartosz Taudul
334224dd36 Support transfer of zone name in source location payload. 2017-11-15 10:56:28 +01:00
Bartosz Taudul
7187e1e5f5 Some strings are always indices.
This saves 4 bytes.
2017-11-15 10:56:27 +01:00
Bartosz Taudul
7da59a55cc Don't search for string in map, if it's known there's nothing there. 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
d56f44a220 Remove zone block split on color change.
While this makes the collapsed block color variation nonexistent, it
also enables proper optimization of rendering.
2017-11-12 01:53:03 +01:00
Bartosz Taudul
3ef0d1333f Sticky display of GPU related CPU time. 2017-11-12 01:32:21 +01:00