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

language changes #1

Merged
merged 1 commit into from
Mar 12, 2012
Merged
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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

gcprof is a tool to measure garbage collection in a production
system. For every message a process receives, gcprof tells you how
much time was spent in garbage collection and how many passes was
much time was spent in garbage collection and how many passes were
done.


Expand Down Expand Up @@ -86,18 +86,18 @@ Example:
gcprof:sample_me(IdentityF, Id rem Divisor)

`sample_me/2` only samples if the second argument is 0. So in the
above case, given an even distribution of ids, only 1% will of the
processes be sampled.
above case, given an even distribution of ids, only 1% of the
processes will be sampled.


## Impact on your system

`gcprof:trace/2` uses a `gen_server:cast/2` under the hood so your
process do not have to wait for gcprof. This also means that if gcprof
process does not have to wait for gcprof. This also means that if gcprof
is not running, nothing happens.

If gcprof would crash, the processes would be restarted. When the
gcprof tracer process goes away, the VM stops whatever traces was
gcprof tracer process goes away, the VM stops whatever traces were
active.


Expand Down