[profiler] Make the default sample frequency 100 Hz.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Sat, 9 Apr 2016 01:16:44 +0000 (03:16 +0200)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 19 Apr 2016 21:34:46 +0000 (14:34 -0700)
commitc26ff53fa4296ccd9dde6ab956a659f82f5fefd1
tree1e03f72f5f444acc74f0615697e54b3b1743e3d3
parentc8b20290808563f89d29b22d2fe35eb906cfe725
[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.
man/mprof-report.1
mono/metadata/profiler.c
mono/metadata/profiler.h
mono/profiler/proflog.c