Skip to content

Commit 5c8d939

Browse files
committed
fixup! fixup! fixup! Add docs
1 parent d7706e6 commit 5c8d939

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/profile.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ regular intervals to build a statistical picture of where the program spends
9393
its time.
9494

9595
The sampling profiler uses process memory reading (via system calls like
96-
`process_vm_readv` on Linux, `vm_read` on macOS, and `ReadProcessMemory` on
96+
``process_vm_readv`` on Linux, ``vm_read`` on macOS, and ``ReadProcessMemory`` on
9797
Windows) to attach to a running Python process and extract stack trace
9898
information without requiring any code modification or restart of the target
9999
process. This approach provides several key advantages over traditional
@@ -330,8 +330,8 @@ The statistical profiler produces output similar to deterministic profilers but
330330

331331
**Column Meanings:**
332332

333-
- **nsamples**: `direct/cumulative` - Times function was directly executing / on call stack
334-
- **sample%**: Percentage of total samples where function was directly executing
333+
- **nsamples**: ``direct/cumulative`` - Times function was directly executing / on call stack
334+
- **sample%**: Percentage of total samples where function was directly executing
335335
- **tottime**: Estimated time spent directly in this function
336336
- **cumul%**: Percentage of samples where function was anywhere on call stack
337337
- **cumtime**: Estimated cumulative time including called functions
@@ -931,4 +931,4 @@ you are using :class:`profile.Profile` or :class:`cProfile.Profile`,
931931

932932
Python 3.3 adds several new functions in :mod:`time` that can be used to make
933933
precise measurements of process or wall-clock time. For example, see
934-
:func:`time.perf_counter`.
934+
:func:`time.perf_counter`.

0 commit comments

Comments
 (0)