Commit Graph

10644 Commits

Author SHA1 Message Date
Bartosz Taudul
3e91ee15b1 Display FPS time range values in frame compare. 2026-07-14 23:56:28 +02:00
Bartosz Taudul
f7c63ac40c Display single FPS value in frame stats tooltip, if min and max are equal. 2026-07-14 23:55:44 +02:00
Bartosz Taudul
3d85d0468e Remove unneeded capture. 2026-07-14 21:28:33 +02:00
Bartosz Taudul
ff3c57c8d3 Category may exist while sections are not filled.
Dereference of end() iterator in section category options list
(profiler/src/profiler/TracyView_Options.cpp:152-153)

The new category list iterates categories = m_worker.GetSectionDescriptions()
(the description map) and then looks up each category in sections = m_worker.
GetSections():

for( const auto& v : categories )
{
    ...
    auto it = sections.find( v.first );
    ImGui::TextDisabled( "(%s)", RealToString( it->second.size() ) );
    ...
}

sectionsDescription is a superset of sections's keys: ProcessSectionSetup
(server/TracyWorker.cpp:7484-7496) inserts into sectionsDescription only,
while ProcessSectionEnter (server/TracyWorker.cpp:7416-7454) inserts into
both. A category set up via TracySectionSetup that has no TracySectionEnter
events yet (or a saved trace containing such a category) will be in
sectionsDescription but not in sections. find returns end() and
it->second.size() is undefined behavior (likely crash).
2026-07-14 21:21:45 +02:00
Bartosz Taudul
a501117392 Use proper data size. 2026-07-14 21:20:00 +02:00
Bartosz Taudul
916e62de17 Display count of sections in each category. 2026-07-14 19:17:22 +02:00
Bartosz Taudul
88c491e0f9 Add select/unselect all buttons to section categories list. 2026-07-14 19:14:55 +02:00
Bartosz Taudul
1a6b7781bd Update manual. 2026-07-14 19:13:01 +02:00
Bartosz Taudul
71810c4265 Update NEWS. 2026-07-14 19:13:01 +02:00
Bartosz Taudul
15fecdbf79 Display section category in section tooltips. 2026-07-14 19:13:01 +02:00
Bartosz Taudul
c1e8c7bac9 Implement disabling specific section categories. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
03af70fd78 Add section categories descriptions accessor. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
7933c00447 Add notification for when sections are hidden. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
eb53d28358 Repurpose "limit to view" icon for sections. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
2e0367cd1f Implement disabling drawing of sections. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
c2fa2d4d7b New section selection menu in compare window. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
f86105c600 New section range copy in playback. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
2b9e7a53ff Further extraction of common functionality. 2026-07-14 19:13:00 +02:00
Bartosz Taudul
172f32d075 Use section categories in dyna example. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
7dab948434 List sections and categories in range limits window. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
e49b96ec03 Section items lister. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
42fc8d8d8f Add getter for section category name. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
ece976e820 Move Range, RangeSlim from TracyViewData.hpp to TracyUtility.hpp. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
a8d5f12f16 Properly process section categories.
Section selection UI disabled for now.
2026-07-14 19:12:59 +02:00
Bartosz Taudul
aacc82df3d Hook up server-side no-op section setup. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
3e1de56e15 Add section category to section enter message. 2026-07-14 19:12:59 +02:00
Bartosz Taudul
859709a98a Add client-side section category setup. 2026-07-14 19:12:58 +02:00
Bartosz Taudul
50c3c89c16 Rename parents / baseParents maps to wasExecuting / wasExecutingBase.
The current "parents" mode of operation is "was this symbol executing".
The new name for the maps reflects that.

There should also be "was this symbol reached" (both recursive and non-
reentrant) modes.
2026-07-12 16:38:42 +02:00
Bartosz Taudul
60ce6fb25e Rename parent call stacks to synthetic call stacks. 2026-07-12 16:30:16 +02:00
Bartosz Taudul
9ec0535e03 Extract parent frame interning function. 2026-07-12 16:19:08 +02:00
Bartosz Taudul
81ccf5149a Increase code legibility. 2026-07-12 16:02:28 +02:00
Bartosz Taudul
7b36ab9793 Regenerate markdown manual. 2026-07-11 16:22:09 +02:00
Bartosz Taudul
2b49e91804 Update manual. 2026-07-11 16:21:55 +02:00
Bartosz Taudul
6bd6483181 Update NEWS. 2026-07-11 16:00:42 +02:00
Bartosz Taudul
22a5a5fb78 Add copy message context menu to zone info message list. 2026-07-11 16:00:42 +02:00
Bartosz Taudul
580a43c05f Enable copying messages to clipboard. 2026-07-11 15:38:12 +02:00
Bartosz Taudul
3b2d97ab21 Set filename when saving a trace to disk. 2026-07-10 20:34:22 +02:00
Bartosz Taudul
b76468885b Show callstack lines in memory plot tooltips. 2026-07-10 20:34:22 +02:00
Bartosz Taudul
c35e0f07c5 Draw longer callstack lines in memory alloc window. 2026-07-10 20:34:19 +02:00
Bartosz Taudul
7979404a8f Merge pull request #1428 from damcclos/damcclos/flame-thread-sort
Enhance Flame Graph View with Sorting Functionality
2026-07-10 20:34:09 +02:00
David McCloskey
7d1a37de2d Pulling implementation in to a separate function. 2026-07-10 12:00:48 -05:00
Bartosz Taudul
0350df11f8 Hook up section enter / leave to Lua bindings. 2026-07-10 16:24:46 +02:00
Bartosz Taudul
59013f2a8c Add GetNextSectionId() for getting section id. 2026-07-10 16:05:37 +02:00
Bartosz Taudul
a208c3c665 Merge pull request #1427 from nicozink/fix/VulkanQueryCount
Reduce Vulkan QueryCount for Apple devices
2026-07-10 15:27:50 +02:00
David McCloskey
655b8295cf Enhance Flame Graph View with Sorting Functionality
Added a "Sort" button to the Flame Graph view, allowing users to sort threads based on group hints, thread names, and IDs. Updated the child window to always show a vertical scrollbar for better usability.
2026-07-09 12:16:17 -05:00
Nico Zink
e20c716b80 Reduce Vulkan QueryCount for Apple devices 2026-07-09 16:32:22 +01:00
Bartosz Taudul
ac4defb4f3 Merge pull request #1426 from YaLTeR/fix-manual
manual: Fix decorators in the Python listing and typo
2026-07-09 13:51:39 +02:00
Ivan Molodetskikh
c6f5cf50fb manual: Fix decorators in the Python listing and typo 2026-07-09 14:06:41 +03:00
Bartosz Taudul
96a91da63a Merge pull request #1425 from YaLTeR/desktop-tracy-profiler
.desktop: Change binary name to tracy-profiler
2026-07-09 11:55:06 +02:00
Ivan Molodetskikh
e0929e9cd8 .desktop: Change binary name to tracy-profiler
That's the current binary name.
2026-07-09 12:50:15 +03:00