1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

20 Commits

Author SHA1 Message Date
Bartosz Taudul b29d60056a Custom per-zone name transfer. 2018-06-29 16:01:31 +02:00
Bartosz Taudul ac89c6de33 Fix one more copy paste error. 2018-06-29 15:31:47 +02:00
Bartosz Taudul 5b6d9769af Properly separate HW timer from MSVC rdtscp optimization. 2018-04-27 19:40:47 +02:00
Bartosz Taudul 48665cc09b s/TRACY_RDTSCP_SUPPORTED/TRACY_HW_TIMER/ 2018-04-26 15:25:54 +02:00
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
Bartosz Taudul 71ad3c3b0c Use named colors. 2017-11-25 15:33:10 +01:00
Bartosz Taudul 2f9a3f7046 Colors are always in RGB order. 2017-11-25 15:33:10 +01:00
Bartosz Taudul 1a99a57525 Fix typo. 2017-11-15 14:14:48 +01:00
Bartosz Taudul 334224dd36 Support transfer of zone name in source location payload. 2017-11-15 10:56:28 +01:00
Bartosz Taudul 9eace41f0d Fix typo. 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 81735aea2f Support for setting zone names in lua. 2017-11-11 17:56:41 +01:00
Bartosz Taudul 1e4381ff42 Add a note about header requirements. 2017-11-09 19:04:04 +01:00
Bartosz Taudul 68f66a923e Lua zone text. 2017-11-07 00:35:15 +01:00
Bartosz Taudul 27dd46a97d Lua message sending. 2017-11-07 00:28:23 +01:00
Bartosz Taudul 9046a72f82 Fix enabled/disabled includes. 2017-11-06 15:16:12 +01:00
Bartosz Taudul 8d4b10be4d Fix typo. 2017-11-06 15:16:06 +01:00
Bartosz Taudul d7e7aa275a Fix handling of unnamed functions. 2017-11-06 02:02:16 +01:00
Bartosz Taudul 4aa93f6285 Adjust default lua zone color. 2017-11-05 21:22:48 +01:00
Bartosz Taudul 0fb5f012ce Lua profiling framework. No source location transfer yet. 2017-11-05 15:06:28 +01:00