tracy/server
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
..
tracy_benaphore.h No funny links to licenses. 2017-11-15 22:18:45 +01:00
tracy_flat_hash_map.hpp Workaround MSVC inlining bugs. 2017-11-22 01:54:50 +01:00
tracy_sema.h No funny links to licenses. 2017-11-15 22:18:45 +01:00
TracyCharUtil.hpp Prevent source location payload duplication. 2017-11-11 02:31:51 +01:00
TracyEvent.hpp Perform GPU to CPU resynchronization on each collect event. 2017-11-25 13:33:57 +01:00
TracyFileRead.hpp Force inline file read and write functions. 2017-11-19 22:02:04 +01:00
TracyFileWrite.hpp Force inline file read and write functions. 2017-11-19 22:02:04 +01:00
TracyImGui.hpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyMemory.cpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyMemory.hpp Remove +x flag from files. 2017-10-10 21:56:15 +02:00
TracyPopcnt.hpp TracyCountBits should be static inline. 2017-11-11 02:46:41 +01:00
TracySlab.hpp Optimize slab initializing allocation. 2017-11-19 13:53:39 +01:00
TracyVector.hpp Back-and-pop operation on Vector. 2017-11-19 19:17:54 +01:00
TracyView.cpp Optimize lock state combining. 2017-11-26 16:42:50 +01:00
TracyView.hpp Improve text legibility by drawing text shadow. 2017-11-25 15:45:16 +01:00