~/talk

An Introduction to Tracy Profiler in C++

Talkat CppCon 2023 · on Monday, 2023-10-02· [rust]
links:none on file
slides:none on file

Tracy is an interactive C++ profiler that actually shows a timeline, not just aggregates: nanosecond resolution with measured timer costs like ~4 ns on some Intel chips and ~41 ns on an M1, pushes millions of events per second, and mixes manual instrumentation, selective sampling and automatic sampling. The demo compiles client code, connects to a server, profiles Quake with OpenGL GPU+CPU correlation, captures call stacks to about call-stack depth ~60, logs messages, plots values and tracks allocations.

AI-written summary · about

  1. 0:00Welcome
  2. 1:48Why current profilers fall short
  3. 7:44Live demo: Tracy Profiler
  4. 9:29Frame profiling view
  5. 18:37Zone scopes in Tracy
  6. 23:57Enhancing zones
  7. 32:15Advanced zone features
  8. 37:34Memory allocation tracking
  9. 39:20Lock analysis
  10. 41:32Deep dive options
  11. 47:33GPU profiling
  12. 50:02Sampling mode insights
  13. 56:46Tracy overhead
  14. 1:00:00Frame marking and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.