diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2016-04-09 04:16:44 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2016-04-20 00:34:46 +0300 |
commit | c26ff53fa4296ccd9dde6ab956a659f82f5fefd1 (patch) | |
tree | 1e03f72f5f444acc74f0615697e54b3b1743e3d3 /man/mprof-report.1 | |
parent | c8b20290808563f89d29b22d2fe35eb906cfe725 (diff) |
[profiler] Make the default sample frequency 100 Hz.
Our previous default (1000 Hz) was quite extreme and resulted in very high
overhead from the profiler for moderate workloads.
Also, fix the profiler to actually treat the 'freq' argument as a frequency
when passing it to the runtime. It was being incorrectly treated as a sleep
interval.
Diffstat (limited to 'man/mprof-report.1')
-rw-r--r-- | man/mprof-report.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/mprof-report.1 b/man/mprof-report.1 index c1663332336..71b3e0dfd75 100644 --- a/man/mprof-report.1 +++ b/man/mprof-report.1 @@ -137,9 +137,9 @@ to the control port .IP \[bu] 2 \f[I]sample[=TYPE[/FREQ]]\f[]: collect statistical samples of the program behaviour. -The default is to collect a 1000 times per second the instruction -pointer. -This is equivalent to the value \[lq]cycles/1000\[rq] for +The default is to collect a 100 times per second (100 Hz) the +instruction pointer. +This is equivalent to the value \[lq]cycles/100\[rq] for \f[I]TYPE\f[]. On some systems, like with recent Linux kernels, it is possible to cause the sampling to happen for other events provided by the |