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

4846 Commits

Author SHA1 Message Date
Bartosz Taudul d0b81c7c0b Update NEWS. 2020-06-27 19:57:02 +02:00
Bartosz Taudul 0da6342a86 Trace vsyncs. 2020-06-27 19:56:23 +02:00
Bartosz Taudul 1fff99ebb0 Fix memory leak. 2020-06-27 17:43:08 +02:00
Bartosz Taudul c7d94a66b0 Bump xxh3 to 0.7.4. 2020-06-27 17:01:31 +02:00
Bartosz Taudul e9788cc04c Bump robin_hood to 3.7.0. 2020-06-26 00:51:03 +02:00
Bartosz Taudul 97a5345f41 Include import-chrome in CI. 2020-06-24 02:08:03 +02:00
Bartosz Taudul 37ea159646 Update manual. 2020-06-24 01:54:51 +02:00
Bartosz Taudul 6bee23b056 Update AUTHORS. 2020-06-24 01:35:41 +02:00
Bartosz Taudul c815259481 Update NEWS. 2020-06-24 01:34:43 +02:00
Bartosz Taudul 4bbeb51e34 Add secure alloc/free macros. 2020-06-24 01:33:26 +02:00
Bartosz Taudul 530e464347 Add checker for profiler availability. 2020-06-24 01:32:57 +02:00
Bartosz Taudul cf8620b956 Cosmetics. 2020-06-24 01:14:55 +02:00
Bartosz Taudul 493d433330 Merge pull request #60 from nagisa/nagisa/dont-sigsegv-file
Check for null FILE handles in ReportTopology
2020-06-21 20:06:22 +02:00
Simonas Kazlauskas b0d67064b5 Check for null FILE handles in ReportTopology
On Linux `/sys` is not guaranteed to exist. When it doesn't, tracy
would crash with a SIGSEGV due to a nullptr dereference. Not actually
sure how well tracy clients will handle the case where this information
is missing, though.
2020-06-21 20:14:05 +03:00
Bartosz Taudul 0fff0ac754 Merge pull request #58 from ethercrow/import-chrome-metrics
Import chrome metrics
2020-06-21 14:39:52 +02:00
Dmitry Ivanov cfb11ff8c1 Check if plot data contains the earliest timestamp of the whole profile 2020-06-21 13:57:37 +02:00
Dmitry Ivanov 9fa80c2cc8 Import chrome metrics 2020-06-21 13:45:41 +02:00
Bartosz Taudul 5c12c575b2 Merge pull request #57 from travisdoor/master
Disable MSVC warnings for integrated client.
2020-06-20 23:05:43 +02:00
Martin Dorazil 7f2bc0d177 Disable MSVC warnings for integrated client. 2020-06-20 22:51:56 +02:00
Bartosz Taudul b353eb753b Merge pull request #56 from nagisa/nagisa/fix-macos-build
Fix build on macos
2020-06-20 19:57:09 +02:00
Bartosz Taudul bdf2729845 Merge pull request #55 from nagisa/nagisa/tracy-sized-functions
`___tracy_alloc_*` take pointer-size pairs
2020-06-20 19:45:33 +02:00
Simonas Kazlauskas b03da81afa Fix build on macos
It was broken by a110b42011.

In addition, adjust the CI definition to test builds on macOS.
2020-06-20 20:44:55 +03:00
Simonas Kazlauskas 29886435b4 ___tracy_alloc_* take pointer-size pairs
This enables better bindings in languages that do not have 0-terminated
strings for source/function name. It does not introduce any additional
overhead in languages that do use 0-terminated strings, either, but it
_is_ a breaking API change.

Fixes https://github.com/wolfpld/tracy/issues/53
2020-06-20 20:35:42 +03:00
Bartosz Taudul d8466c5839 Fix typo. 2020-06-20 18:50:05 +02:00
Bartosz Taudul f7727f3aa4 Workaround broken connect implementation. 2020-06-20 18:35:21 +02:00
Bartosz Taudul 5ccd62ced8 Merge pull request #52 from nagisa/nagisa/tracy-init-thread
Add ___tracy_init_thread function
2020-06-20 16:45:56 +02:00
Simonas Kazlauskas 6d74f4e8ff Extract manual changes into a separate section
The functions in the extracted section are mostly intended to be used
with bindings, so it made sense to give them their dedicated and
appropriately named section.
2020-06-20 17:32:35 +03:00
Bartosz Taudul 561664187a Update NEWS. 2020-06-20 15:30:31 +02:00
Bartosz Taudul d1e17de7c2 Allow import of plots. 2020-06-20 15:30:06 +02:00
Simonas Kazlauskas a110b42011 Add ___tracy_init_thread function
This function needs to be called for each non-main thread before calling
the `___tracy_alloc_` functions.

Alternative way to achieve this could be initializing the allocator
transparently in the `___tracy_alloc_*` calls.
2020-06-20 04:22:32 +03:00
Bartosz Taudul 25c7245566 Revert "Use pkg-config to link with TBB, but silence errors."
This reverts commit b4d6833231.

pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul 5610bd0f8b Add information on how to build utilities. 2020-06-19 17:35:24 +02:00
Bartosz Taudul 2b5e45cd9b Fix edge case in directory structure creation. 2020-06-19 17:17:26 +02:00
Bartosz Taudul b4d6833231 Use pkg-config to link with TBB, but silence errors. 2020-06-19 02:17:10 +02:00
Bartosz Taudul 11e1671048 Use proper string formatting. 2020-06-18 01:32:53 +02:00
Bartosz Taudul a8c752e2ab Update NEWS. 2020-06-17 18:28:23 +02:00
Bartosz Taudul b0d71b648f Allow listing cached source files. 2020-06-17 18:26:23 +02:00
Bartosz Taudul c507507233 Fix gcc/clang. 2020-06-16 20:14:59 +02:00
Bartosz Taudul 47dfddedfd Use tzcnt instead of bsf. 2020-06-16 18:19:05 +02:00
Bartosz Taudul 7a6141389c Replace floating point condition with a bool. 2020-06-16 01:46:26 +02:00
Bartosz Taudul dd05c8f524 Fix fixup of ghost zones end times. 2020-06-15 17:41:00 +02:00
Bartosz Taudul 71359c46c1 Drop support for loading pre-0.6.0 traces. 2020-06-14 15:52:52 +02:00
Bartosz Taudul 634b0933d1 Update manual. 2020-06-12 11:41:12 +02:00
Bartosz Taudul 9c1dd6d498 Make manual zone scope management more prominent. 2020-06-12 11:29:53 +02:00
Bartosz Taudul 21ddd0a820 Postpone initialization of hashmaps. 2020-06-12 11:26:44 +02:00
Bartosz Taudul cbcf393332 Release 0.7.0. v0.7 2020-06-11 14:30:34 +02:00
Bartosz Taudul 3992eb0542 Move RDO threshold logic to tables. 2020-06-11 14:09:19 +02:00
Bartosz Taudul 2ab605d232 Use dedicated max-of-three-elements function. 2020-06-11 13:45:04 +02:00
Bartosz Taudul 2608ceca05 Improve memory access patterns in RDO compression. 2020-06-11 13:36:17 +02:00
Bartosz Taudul 2723144678 Don't create empty ghost children vectors. 2020-06-11 12:27:17 +02:00