Commit Graph

7949 Commits

Author SHA1 Message Date
Jeff Burnett
18352366f7 Still use named mem pool if no callstacks
Forward MemAllocCallstackNamed() and MemFreeCallstackNamed() to
MemAllocNamed() and MemFreeNamed if callstack capture is off.
2024-03-22 09:50:05 -05:00
Jeff Burnett
278330af5b Fix build warnings for TRACY_NO_CALLSTACK
Fix build warnings about undefined TRACY_HAS_CALLSTACK and an unused
argument for Callstack() when TRACY_NO_CALLSTACK is defined.
2024-03-22 09:50:05 -05: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
c5a68c2d8e
Remove default values that are not supported in C 2024-03-20 20:01:18 +00:00
Arnim Balzer
8df02e0bff
Add support to set color when creating a ScopedZone 2024-03-18 08:56:06 +00:00
Bartosz Taudul
83305115c2
Fix variable name. 2024-03-17 11:34:25 +01:00
Bartosz Taudul
578759384d
Make sure first DPI setup is run. 2024-03-16 01:16:25 +01:00
Bartosz Taudul
c673056dd4
Prevent window resizes on DPI change. 2024-03-16 01:13:09 +01:00
Bartosz Taudul
4fbef01729
Trigger redraw when DPI changes.
Previously the wayland surface was not updated, because there were no
surface commits performed due to power saving routines.
2024-03-16 00:57:55 +01:00
Bartosz Taudul
8ebe62ed85
Fix welcome window resizes. 2024-03-15 20:25:00 +01:00
Bartosz Taudul
55f9341aec
Scale ImGui windows when DPI changes.
Code is directly lifted from ImGui, with certain known caveats.
2024-03-15 20:19:32 +01:00
Bartosz Taudul
f5f82a2bd5
Don't show inline options for instrumentation statistics. 2024-03-13 23:39:16 +01:00
Bartosz Taudul
dec5b851af
Update NEWS. 2024-03-13 20:49:25 +01:00
Bartosz Taudul
37e3c60433
Update manual. 2024-03-13 20:40:54 +01:00
Bartosz Taudul
390b3d9c50
Redo inline options UI. 2024-03-13 20:04:38 +01:00
Bartosz Taudul
6c34e02dc2
Ability to display inline function cost percentages relative to base symbol. 2024-03-13 19:50:21 +01:00
Bartosz Taudul
6235343286
Disable sample parents when inline aggregation is enabled. 2024-03-13 19:15:00 +01:00
Bartosz Taudul
e155702e0a
Display count of aggregate inline functions. 2024-03-13 19:15:00 +01:00
Bartosz Taudul
3af5c7b331
Implement inline function aggregation. 2024-03-13 19:14:59 +01:00
Bartosz Taudul
f04cdb7782
Add aggregate inlines UI. 2024-03-13 19:14:59 +01:00
Bartosz Taudul
f264d0736a
Add grouping icon. 2024-03-13 19:14:59 +01:00
Bartosz Taudul
18f2631e6e
Remove AUTHORS file. 2024-03-13 19:14:59 +01:00
Bartosz Taudul
14206b5b4f
Merge pull request #750 from benvanik/benvanik-source-copy
Adding a copy button to the source view.
2024-03-13 18:13:11 +01:00
Ben Vanik
605cdcb5d5 Adding a copy button to the source view. 2024-03-13 09:35:16 -07:00
Bartosz Taudul
f1998292a4
Update git ignore list. 2024-03-13 00:52:10 +01:00
Bartosz Taudul
f5459c4d2c
Bump json.hpp to 3.11.3. 2024-03-13 00:45:43 +01:00
Bartosz Taudul
00e24e2b8c
pdqsort: Fixed overflow and simplified block partition logic. (2dc2bbd) 2024-03-13 00:42:59 +01:00
Bartosz Taudul
3b9e7a1838
Update stb_image to 2.29. 2024-03-13 00:34:19 +01:00
Bartosz Taudul
2df972d586
libbacktrace: don't assume compressed section is aligned (7ead8c1) 2024-03-13 00:29:01 +01:00
Bartosz Taudul
49478ec3b3
libbacktrace: skip all LZMA block header padding bytes (28824f2) 2024-03-13 00:24:13 +01:00
Bartosz Taudul
1f90cd473b
libbacktrace: use real .opd for debuginfo on ppc64 v1 ABI (592e9c8) 2024-03-13 00:23:08 +01:00
Bartosz Taudul
a9feb75bdf
libbacktrace: read symbol table of debuginfo file (36cfdc1) 2024-03-13 00:20:14 +01:00
Bartosz Taudul
a4eecd508d
libbacktrace: call GetModuleFileNameA on Windows (25889d2) 2024-03-13 00:18:14 +01:00
Bartosz Taudul
11bf33c32c
libbacktrace: look for _pgmptr on Windows (c1c86fa2) 2024-03-13 00:15:10 +01:00
Bartosz Taudul
4e349dd283
Merge pull request #746 from Mulej/master
Expose lock API to TracyC.h
2024-03-12 21:55:16 +01:00
Bartosz Taudul
f39a2fd3ee
Merge pull request #748 from benvanik/benvanik-reconnect-hotkey
Adding ctrl-r as a hotkey for reconnecting from the main profiler view.
2024-03-12 21:52:40 +01:00
Matej Mulej
db6128afe2
Grammar. 2024-03-12 20:59:52 +01:00
Matej Mulej
218d90fb3f
Add documentation for the C lock API. 2024-03-12 20:56:56 +01:00
Matej Mulej
14438be242
Cleanup and define nice C macros for lock API. 2024-03-12 20:56:00 +01:00
Ben Vanik
4fa5d23fa4 Adding ctrl-shift-alt-r hotkey for reconnecting.
This is effectively the same as clicking on the connection status
button, clicking discard, and then clicking reconnect.
2024-03-12 12:48:23 -07:00
Bartosz Taudul
d29421727c
Merge pull request #747 from benvanik/benvanik-copy-statistics
Adding a copy to CSV button to the statistics view.
2024-03-12 15:29:00 +01:00
Ben Vanik
51c99ba3c2 Adding a copy to CSV button to the statistics view.
This copies the visible rows of either the instrumentation or GPU
statistics view to a CSV string matching a subset of the csvexport
format.
2024-03-11 20:39:21 -07:00
Matej Mulej
2e7081e52a
Expose lock API to TracyC.h 2024-03-11 21:06:11 +01:00
Matej Mulej
92511c9742
Add non-C++ lock API 2024-03-11 21:01:25 +01:00
Bartosz Taudul
1ddecd4b99
Merge pull request #745 from apache-hb/master
Fix build and configure warnings when compiling with clang-cl
2024-03-11 20:18:47 +01:00
Elliot
a26f076a0e fix build warnings when compiling with clang-cl 2024-03-11 14:44:44 -04:00
Bartosz Taudul
082c13ac8e
Put m_qpcToNs in a _WIN32 ifdef. 2024-03-09 23:25:49 +01:00
Bartosz Taudul
c0789c20cb
Add CppCon 2023 video. 2024-03-07 17:49:39 +01:00
Bartosz Taudul
7d813ec2c1
Merge pull request #733 from Razakhel/fix-clang-pedantic-windows
Added preprocessor checks for Clang on Windows
2024-03-05 18:07:03 +01:00
Bartosz Taudul
9ccc754143
Fix macos, 2024-03-02 00:30:50 +01:00