mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
3b03e849f0
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. |
||
---|---|---|
.. | ||
tracy_lz4.cpp | ||
tracy_lz4.hpp | ||
TracyAlign.hpp | ||
TracyAlloc.hpp | ||
TracyColor.hpp | ||
TracyForceInline.hpp | ||
TracyProtocol.hpp | ||
TracyQueue.hpp | ||
TracySocket.cpp | ||
TracySocket.hpp | ||
TracySystem.cpp | ||
TracySystem.hpp |