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

104 Commits

Author SHA1 Message Date
Igor S. Gerasimov 7093eb0b08 Update int for ___tracy_after_try_lock_lockable_ctx 2025-01-02 14:33:09 +01:00
Igor S. Gerasimov 7e128f3bce Update int for ___tracy_emit_plot_config 2025-01-02 14:32:04 +01:00
Igor S. Gerasimov 6e220fee91 Update int for ___tracy_emit_frame_image 2025-01-02 14:25:06 +01:00
Igor S. Gerasimov 94403bde4b Update int for ___tracy_before_lock_lockable_ctx 2025-01-02 14:23:06 +01:00
Igor S. Gerasimov cd8e2a5d8a Update int for ___tracy_connected 2025-01-02 14:20:37 +01:00
Igor S. Gerasimov a8f844b970 Use int32_t type for depth in client 2025-01-02 14:19:12 +01:00
Igor S. Gerasimov 78bca3f0e1 Use int32_t for callstack (depth) 2025-01-02 14:04:06 +01:00
Igor S. Gerasimov 4929ac6487 Use int32_t for secure flag 2025-01-02 13:45:47 +01:00
Igor S. Gerasimov 39d382b033 Use int32_t for active flag 2025-01-02 13:42:22 +01:00
Igor S. Gerasimov 8baa50b2f5 Update int for ___tracy_profiler_started 2025-01-02 13:28:39 +01:00
Bartosz Taudul 8b0b2343e1 Merge pull request #957 from foxtran/feature/merge-calls-callstack
Simplify API by decreasing a number of entry points
2025-01-02 12:08:39 +01:00
Igor S. Gerasimov b9c7cd1738 Fix code formatting 2025-01-02 11:49:51 +01:00
Igor S. Gerasimov d30a2d6854 Simplify ZoneBegin functions 2025-01-02 11:26:56 +01:00
Igor S. Gerasimov a2fce55aee Rename has_stacktrace -> has_callstack 2024-12-27 11:43:00 +01:00
Igor S. Gerasimov 96ba28e761 Use constexpr instead of macro in memory manager in C API 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov 39137d809e Accept zero-depth callstack 2024-12-27 11:29:41 +01:00
Igor S. Gerasimov 5051db201e Show error message if TRACY_MANUAL_LIFETIME is enabled without enabled TRACY_DELAYED_INIT 2024-12-27 08:51:50 +01:00
Bartosz Taudul a916050724 Add memory discard to C API. 2024-10-21 18:31:49 +02:00
Bartosz Taudul f4df9013bb Add memory discard message.
This can be used to erase all allocations made within the named memory
pool. The usual use case would be for arena allocators, which allocate
by advancing a pointer and never have to free the memory. There is no
tracking of individual allocations and everything is freed frequently,
by reseting the pointer, for example once per frame.

Since this is used in special-purpose allocators, there is no support
for discarding the memory of the default memory pool.
2024-10-21 18:22:22 +02:00
Joshua Kriegshauser 66edfaec42 More PR feedback 2024-10-02 12:50:12 -07:00
Joshua Kriegshauser e1554a13e0 PR feedback 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 9dfb1e98b9 Line and braces tweaks 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 97a6a3dde7 always override unhandled exception filter 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser cc860fe56a Reduce template code 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 201dcb6a8a Tweaks 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 5213c53bb0 Use SetUnhandledExceptionFilter instead of vectored exceptions 2024-10-02 11:21:34 -07:00
Joshua Kriegshauser 9378718231 Safe copy 2024-10-02 11:21:34 -07:00
Bartosz Taudul 11777e8136 Check if core_id and die_id exist. 2024-09-07 23:53:57 +02:00
Bartosz Taudul ea4de3be36 Detect and report if running under Wine. 2024-09-07 22:09:00 +02:00
Bartosz Taudul 8e3d250654 Check for errors from GetLogicalProcessorInformationEx(). 2024-08-31 11:36:59 +02:00
Bartosz Taudul 8f3b312b7c Get CPU die information on windows. 2024-08-24 17:47:00 +02:00
Bartosz Taudul e947aeb72d Read CPU die information on Linux. 2024-08-22 20:26:09 +02:00
Bartosz Taudul 353545a1e9 Add die to topology data. 2024-08-22 00:58:01 +02:00
Bartosz Taudul fb617fe998 Zero-initialize CPU topology data structure. 2024-08-22 00:54:12 +02:00
Bartosz Taudul 37bfde5106 Add fiber enter API with group hint. 2024-08-04 00:08:18 +02:00
Bartosz Taudul 8cea63cbca Send thread group hint message. 2024-08-03 19:40:49 +02:00
Techatrix 90adf00dc1 fix CpuId when compiling with clang on windows 2024-07-19 01:47:46 +02:00
Bartosz Taudul c383e7ae25 Add EnsureReadable() implementation for Windows. 2024-07-08 18:42:17 +02:00
Bartosz Taudul 1ff73edd20 Add linux kernel symbol code retrieval. 2024-05-26 20:49:43 +02:00
Bartosz Taudul ac031e64d6 Merge pull request #755 from Chekov2k/color
Add support to set color when creating a ScopedZone
2024-03-20 22:19:38 +01:00
Arnim Balzer 8df02e0bff Add support to set color when creating a ScopedZone 2024-03-18 08:56:06 +00:00
Matej Mulej 14438be242 Cleanup and define nice C macros for lock API. 2024-03-12 20:56:00 +01:00
Matej Mulej 92511c9742 Add non-C++ lock API 2024-03-11 21:01:25 +01:00
Elliot a26f076a0e fix build warnings when compiling with clang-cl 2024-03-11 14:44:44 -04:00
David Briscoe 7d8432bbec Cast thread id to uint32_t
Fix MSVC Warning C4244: 'argument': conversion from 'uint64_t' to
'uint32_t', possible loss of data

We only store 32 bit thread ids in ThreadNameData.

Trying to follow existing style instead of static_cast.
2024-02-16 16:29:36 -08:00
Bartosz Taudul 5037742ab0 Fix file access race condition. 2024-02-07 17:14:31 +01:00
Bartosz Taudul 312713b83c Free allocated memory in case of read failure. 2024-02-07 17:14:04 +01:00
Gedalia Pasternak 4ebbd15894 add win32 fix. 2024-01-24 11:27:08 -05:00
Gedalia Pasternak 9515a824fd This change makes the crash handler only install when tracy is connected.
This avoids the issue that an end user has their own crash handler which
gets ignored when tracy is on even if there is nothing to capture the crash.
2024-01-24 09:25:57 -05:00
Alex 9921b74e6d -documentation
-erro message
2023-12-11 16:21:19 -08:00