Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in tprof docs #8958

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/tools/src/tprof.erl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ There are [three kinds of profiling](`t:trace_type/0`) supported by this module:
- `call_time`
- `call_memory`

The default is `call_count`, which has the smallest peformance impact
The default is `call_count`, which has the smallest performance impact
and memory footprint, but it does not support per-process
profiling. For this reason, all of the examples below uses
`call_memory`, which measures heap allocation, and provide a more complex
Expand Down Expand Up @@ -271,8 +271,8 @@ erl_eval:merge_bindings/4 3 24 8 [24.24]
99 [100.0]
```

By default, there is no limit for the profiling time. For ac-hoc
profiling, is is possible to configure a time limit. If the profiled
By default, there is no limit for the profiling time. For ad-hoc
profiling, it is possible to configure a time limit. If the profiled
function does not return before that time expires, the process is
terminated with reason `kill`. Any unlinked children processes started
by the user-supplied function are kept; it is the responsibility of
Expand Down
Loading