Commit Graph
11177 Commits
Author SHA1 Message Date
Marcos Slomp 7e512af1d2 Adding log-scale option for displaying plot data. 2026-10-28 06:31:36 -07:00
Bartosz Taudul 9f1c8e652c Merge pull request #1502 from alandtse/pr/mcp-plot-thread-stats
feat(mcp): add plot window and thread zone stats
2026-10-27 20:53:12 +01:00
Bartosz Taudul b5acd07901 Merge pull request #1500 from alandtse/fix/d3d11-reconnect-disjoint
fix(d3d11): resume GPU timing after reconnect
2026-10-27 20:51:52 +01:00
Alan TseandClaude Sonnet 5.5 bbb4eebc61 feat(mcp): get zone stats for a single thread
get_all_zone_stats mixes every thread, so the main-thread cost of a
zone could not be separated from worker threads. get_thread_zone_stats
returns the same per-name stats for the zones recorded on one thread,
and its per-thread sums match get_all_zone_stats exactly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L3DnWkXakGRgz9C8BaLM47
2026-10-27 10:04:47 -07:00
Alan TseandClaude Sonnet 5.5 0ea62d9551 feat(mcp): read plot samples by time window
get_plots only summarises a whole trace, so a plot could not be
compared across windows. get_plot_samples returns the (time, value)
pairs in a range, thinned to a maximum count, and
get_plot_window_stats returns count, min, max and average over just
that range.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L3DnWkXakGRgz9C8BaLM47
2026-10-27 10:04:47 -07:00
Alan TseandClaude Sonnet 5.5 a03c657cb5 fix(d3d11): resume GPU timing after reconnect
When the client disconnects while a disjoint query result is pending,
the not-connected branch of Collect resets the checkpoints without
re-issuing Begin. The next connected Collect then calls End twice, so
no GpuTime items are produced and every later connection shows GPU
zones with no timings.

Drain the pending result and Begin the query before resetting.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L3DnWkXakGRgz9C8BaLM47
2026-10-27 02:32:29 -07:00
Bartosz Taudul 1f4c53574b Merge pull request #1498 from tuket/master
Remove assert that was failing in Android 9
2026-10-26 12:29:51 +01:00
tuket 270691f485 remove assert that was failing in Android 9 2026-10-26 09:02:42 +01:00
Bartosz Taudul 78f0da621e Merge pull request #1494 from jjcasmar/cuda-serialized-kernel-activity
Add an option to force serial CUDA kernel execution in CUPTI activity tracing
2026-10-23 12:04:11 +02:00
Juan Jose Casafranca d0ddff87da Rename TRACY_CUDA_SERIALIZED_KERNEL_ACTIVITY to TRACY_CUDA_FORCE_KERNEL_SERIAL_EXECUTION. 2026-10-22 21:30:24 +00:00
Juan Jose Casafranca 52ebe6c258 Add an option to collect CUDA kernel activity as CUPTI_ACTIVITY_KIND_KERNEL.
With CONCURRENT_KERNEL, MEMCPY or MEMSET activity enabled, CUPTI 13.0
faults the device with an illegal memory access once the nodes inside CUDA
graph conditional (IF/WHILE) bodies have executed about 699,050 times in a
context. TRACY_CUDA_SERIALIZED_KERNEL_ACTIVITY enables KERNEL activity
instead, which avoids the fault at the cost of serializing kernels. In that
mode CUPTI reports conditional-body kernels once per graph launch without
timestamps, so those records are skipped.
2026-10-22 19:45:43 +00:00
Bartosz Taudul e15c78fdac Wait for background reconstruction before exporting plots. 2026-10-22 17:44:47 +02:00
Bartosz Taudul 29aa268641 Add an assembly reading achievement. 2026-10-18 22:04:20 +02:00
Bartosz Taudul b8c32a326a Add a trace comparison achievement. 2026-10-18 21:57:52 +02:00
Bartosz Taudul 5c0dc013d1 Add a flame graph achievement. 2026-10-18 21:57:52 +02:00
Bartosz Taudul 7b3ace0d2b Add a source view achievement. 2026-10-18 21:57:51 +02:00
Bartosz Taudul 7cb1921808 Report file selector failure instead of crashing when NFD_Init failed. 2026-10-17 20:21:06 +02:00
Bartosz Taudul ee27a99188 Use the dispatch timeout as the unfocused throttle on Wayland.
Pass the 50 ms budget as the timeout of wl_display_dispatch_timeout
instead of sleeping after a nonblocking dispatch. The dispatch flushes
before polling and wakes on any event, e.g. re-granted focus.
2026-10-17 20:21:06 +02:00
Bartosz Taudul f5290242f3 Don't throttle the first Wayland frame on unknown focus state. 2026-10-17 20:21:04 +02:00
Bartosz Taudul 9e2127e60a Glue admonition header to the icon unconditionally. 2026-10-17 15:37:48 +02:00
Bartosz Taudul 778d6d712c Bump pandoc to 3.12.1. 2026-10-16 01:23:07 +02:00
Bartosz Taudul c2fc1bad70 Bump examples/dyna CPM to 0.43.2. 2026-10-16 01:23:07 +02:00
Bartosz Taudul 577441fae8 Bump CPM to 0.43.2. 2026-10-16 01:23:06 +02:00
Bartosz Taudul 7dc0a73966 Bump xxhash to 0.8.4. 2026-10-16 01:23:04 +02:00
Bartosz Taudul f8d55466fe Bump curl to 8.23.0. 2026-10-16 00:37:57 +02:00
Bartosz Taudul ef5269113d Bump usearch to 2.26.4. 2026-10-16 00:37:14 +02:00
Bartosz Taudul 6d5ad729f6 Bump nfd-extended to 1.4.1. 2026-10-16 00:35:21 +02:00
Bartosz Taudul a5a591d161 Bump freetype to 2.15.0. 2026-10-16 00:34:29 +02:00
Bartosz Taudul 254c49c01d Bump md4c to current HEAD. 2026-10-16 00:32:36 +02:00
Bartosz Taudul 37d58eca7f Add a zone inspection achievement.
Find zone moves from the instrumentation intro under it: searching
builds on having inspected a zone, not the other way around.
2026-10-16 00:24:13 +02:00
Bartosz Taudul 248f8ececf Add a GPU profiling achievement. 2026-10-16 00:24:13 +02:00
Bartosz Taudul 0265046f30 Add labels to the GPU profiling API sections. 2026-10-16 00:24:12 +02:00
Bartosz Taudul bf74c4cb8d Add a leak hunting achievement. 2026-10-16 00:24:12 +02:00
Bartosz Taudul 745bed8477 Emit label ids suppressed by pandoc in the generated manual.
Pandoc omits a heading's {#id} when it equals the auto-generated
identifier; the manual window resolves links only from explicit
suffixes, leaving six section anchors unnavigable.
2026-10-16 00:24:10 +02:00
Bartosz Taudul fd23005a67 Document achievements. 2026-10-15 02:05:34 +02:00
Bartosz Taudul c874d82aa4 Document hierarchical plots. 2026-10-15 02:05:31 +02:00
Bartosz Taudul 0c37d9c41e Adapt to new ImGui color scheme. 2026-10-15 00:31:16 +02:00
Bartosz Taudul a5995ba3fc Fix unbalanced ImGui begin/end state. 2026-10-15 00:25:36 +02:00
Bartosz Taudul ff78f7f002 Merge pull request #1484 from CamilleRelic/master
Add filtering and hierarchical view to plots selection
2026-10-14 23:14:29 +02:00
Bartosz Taudul 84be3825d5 Pass ImGuiChildFlags instead of the legacy border bool to BeginChild(). 2026-10-14 23:08:34 +02:00
Bartosz Taudul b683310a11 Query the child extent through current ImGui APIs. 2026-10-14 23:08:34 +02:00
Bartosz Taudul 48e86cca75 Use the current AddRect argument order. 2026-10-14 23:08:34 +02:00
Bartosz Taudul 4ee7cb134b Set filter field width through SetNextItemWidth. 2026-10-14 23:08:34 +02:00
Bartosz Taudul be86647743 Bump ImGui to 1.93.0-docking. 2026-10-14 23:08:32 +02:00
Camille Martel 2253f9751f Push a plotTree ID to prevent folder/leaf id conflicts
- And other minor review fixes
2026-10-14 13:58:38 -07:00
Camille Martel 77c6950d22 Address review feedback
- Match radio button sizes to other sub-elements (smaller inline size)
- Also fix alignment of select/unselect all buttons relative to filter text baseline
- Extract plot name into GetPlotName helper for uniform use in user vs. built-in plots
- Properly handle row-wise plot duplicate IDs through PushID/PopID
- Remove truncation hazards from use of snprintf
- Allow clicking full hierarchical row to toggle expansion (hover highlights the whole row, similar to the other collapsible rows in the options view)
2026-10-13 12:34:19 -07:00
Bartosz Taudul cab1efade4 Achievement star will now dance to attract attention in addition to pulsing color. 2026-10-13 00:41:12 +02:00
Bartosz Taudul 02e9436a13 Add a lock contention achievement. 2026-10-12 23:31:03 +02:00
Bartosz Taudul 97a08ea670 Add a lock watching achievement. 2026-10-12 23:27:50 +02:00
Bartosz Taudul 273dedf4b2 Add a memory profiling achievement. 2026-10-12 23:27:48 +02:00