Bartosz Taudul
5246098c79
GPU context hiding plumbing.
2017-11-30 15:31:31 +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
eeca0676df
Even simpler lock state combining.
2017-11-26 21:37:57 +01:00
Bartosz Taudul
50795cdf43
Declare buffer at function start.
2017-11-26 17:27:51 +01:00
Bartosz Taudul
b82434d7c3
No need for lambda in sort.
2017-11-26 17:13:24 +01:00
Bartosz Taudul
91758423cd
Optimize lock state combining.
...
There are four possible lock states:
1. Nothing
2. HasLock
3. HasBlockingLock
4. WaitLock
The previous switch was implementing the following state transition:
s\n| 1 | 2 | 3 | 4
---+---+---+---+---
1 | 1 | 2 | 3 | 4
---+---+---+---+---
2 | 2 | 2 | 3 | 4
---+---+---+---+---
3 | 3 | 3 | 3 | 4
---+---+---+---+---
4 | 4 | 4 | 4 | 4
As can be seen, the switch effectively searches for the highest state
possible. This change implements it as such.
2017-11-26 16:42:50 +01:00
Bartosz Taudul
c044884dd9
Fix signed/unsigned mismatch.
2017-11-26 02:36:38 +01:00
Bartosz Taudul
6bbed5db82
Increase plot min/max value legibility.
2017-11-26 02:32:00 +01:00
Bartosz Taudul
4b548156b1
Proper display of negative time.
2017-11-26 02:24:13 +01:00
Bartosz Taudul
b2b3e7d739
Draw timescale.
2017-11-26 02:18:17 +01:00
Bartosz Taudul
e495cb959e
Fix StringRef initialization.
2017-11-26 01:43:08 +01:00
Bartosz Taudul
d40488ccf1
Add more numeric separators.
2017-11-25 15:48:41 +01:00
Bartosz Taudul
cd26a6f8ff
Improve text legibility by drawing text shadow.
2017-11-25 15:45:16 +01:00
Bartosz Taudul
2f9a3f7046
Colors are always in RGB order.
2017-11-25 15:33:10 +01:00
Bartosz Taudul
4d99560f7c
Add some more numeric separators.
2017-11-25 13:50:41 +01:00
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
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
7f74d35955
Workaround MSVC inlining bugs.
...
The previous code was not inlineable.
2017-11-22 01:54:50 +01:00
Bartosz Taudul
5d7fd5805a
Don't hash pointers and such.
2017-11-22 00:23:43 +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
43ed934204
Force inline file read and write functions.
2017-11-19 22:02:04 +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
19db1a3f1f
Optimize UpdateLockCount.
2017-11-19 19:35:16 +01:00
Bartosz Taudul
c1a79c0622
Force inline checker functions.
2017-11-19 19:23:07 +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
1e6707c609
Add no-nullptr-check push_back to Vector.
2017-11-19 17:27:51 +01:00
Bartosz Taudul
8c30f75b4d
Prevent inlining of vector reallocation function.
2017-11-19 17:15:24 +01:00
Bartosz Taudul
ff35f2960a
Remove a level of indirection.
2017-11-19 16:27:23 +01:00
Bartosz Taudul
08b8c6ec1b
Optimize slab initializing allocation.
2017-11-19 13:53:39 +01:00
Bartosz Taudul
ca5d35e6cd
Slab offset can be 32 bit.
...
This reduces memory system pressure.
2017-11-19 13:38:55 +01:00
Bartosz Taudul
0fe4232015
Optimize string wrappers initialization.
2017-11-19 13:36:03 +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