tracy/common
Bartosz Taudul 3b03e849f0 Harden client code against unaligned memory access.
There shouldn't be any changes in generated code on modern
architectures, as the memcpy will be reduced to a store/load operation
identical to the one generated with plain struct member access.

GetTime( cpu ) needs special handling, as the MSVC intrinsic for rdtscp
can't store cpu identifier in a register. Using intermediate variable
would cause store to stack, read from stack, store to the destination
address. Since rdtscp is only available on x86, which handles unaligned
stores without any problems, we can have one place with direct struct
member access.
2018-03-31 14:15:04 +02:00
..
tracy_lz4.cpp Bump lz4 to 1.8.1. 2018-03-04 15:23:46 +01:00
tracy_lz4.hpp Bump lz4 to 1.8.1. 2018-03-04 15:23:46 +01:00
TracyAlign.hpp Add unaligned read/write helpers. 2018-03-31 14:15:04 +02:00
TracyAlloc.hpp Move TracyAlloc.hpp to common. Use rpmalloc only if TRACY_ENABLE. 2017-10-18 19:50:28 +02:00
TracyColor.hpp Provide tracy color list in default client header. 2017-11-25 15:33:10 +01:00
TracyForceInline.hpp Add no inline specifier. 2017-11-19 17:15:09 +01:00
TracyProtocol.hpp Harden client code against unaligned memory access. 2018-03-31 14:15:04 +02:00
TracyQueue.hpp Send lock type in LockWait/LockSharedWait events. 2017-12-17 18:30:34 +01:00
TracySocket.cpp Cosmetics. 2018-03-31 01:06:35 +02:00
TracySocket.hpp Cosmetics. 2018-03-31 01:06:35 +02:00
TracySystem.cpp Don't copy thread name needlessly. 2018-03-31 01:38:57 +02:00
TracySystem.hpp Workaround pthreads thread name limit. 2018-03-31 01:22:21 +02:00