Skip to content

Commit 6f92adb

Browse files
committed
1 parent 7d7b14e commit 6f92adb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Doc/library/profiling-sampling.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -545,40 +545,40 @@ and 24 lines tall.
545545

546546
Within live mode, keyboard commands control the display:
547547

548-
``q``
548+
:kbd:`q`
549549
Quit the profiler and return to the shell.
550550

551-
``s`` / ``S``
551+
:kbd:`s` / :kbd:`S`
552552
Cycle through sort orders forward/backward (sample count, percentage,
553553
total time, cumulative percentage, cumulative time).
554554

555-
``p``
555+
:kbd:`p`
556556
Pause or resume display updates. Sampling continues while paused.
557557

558-
``r``
558+
:kbd:`r`
559559
Reset all statistics and start fresh.
560560

561-
``/``
561+
:kbd:`/`
562562
Enter filter mode to search for functions by name. Type a pattern and
563563
press Enter to filter, or Escape to cancel.
564564

565-
``c``
565+
:kbd:`c`
566566
Clear the current filter.
567567

568-
``t``
568+
:kbd:`t`
569569
Toggle between viewing all threads combined or per-thread statistics.
570570

571-
```` ```` or ```` ````
571+
:kbd:`` :kbd:`` or :kbd:`` :kbd:``
572572
In per-thread view, navigate between threads.
573573

574-
``+`` / ``-``
574+
:kbd:`+` / :kbd:`-`
575575
Increase or decrease the display refresh rate (range: 0.05s to 1.0s).
576576

577-
``x``
577+
:kbd:`x`
578578
Toggle trend indicators that show whether functions are becoming hotter
579579
or cooler over time.
580580

581-
``h`` or ``?``
581+
:kbd:`h` or :kbd:`?`
582582
Show the help screen with all available commands.
583583

584584
Live mode is incompatible with output format options (``--collapsed``,

0 commit comments

Comments
 (0)