Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2006-03-24 17:38:51 +0300
committerPaolo Molaro <lupus@oddwiz.org>2006-03-24 17:38:51 +0300
commitd7f41b2194e0225bd6eb290217f247c00b1d240e (patch)
tree2afd22aea4fac71c846c5c7da388d0077d9cac99 /man
parente159d170bf0f536c8e8b046cfd8ee9eeb7ebeeb1 (diff)
Updates to the profiler section.
svn path=/trunk/mono/; revision=58411
Diffstat (limited to 'man')
-rw-r--r--man/mono.116
1 files changed, 12 insertions, 4 deletions
diff --git a/man/mono.1 b/man/mono.1
index b39164d3af7..bac314961a7 100644
--- a/man/mono.1
+++ b/man/mono.1
@@ -277,8 +277,11 @@ is a profiler-specific string of options for the profiler itself.
.Sp
The default profiler accepts the following options 'alloc' to profile
memory consumption by the application; 'time' to profile the time
-spent on each routine and 'stat' to perform sample statistical
-profiling. If no options are provided the default is 'alloc,time'.
+spent on each routine; 'jit' to collect time spent JIT-compiling methods
+and 'stat' to perform sample statistical profiling.
+If no options are provided the default is 'alloc,time,jit'. By default the
+profile data is printed to stdout: to change this, use the 'file=filename'
+option to output the data to filename.
.Sp
For example:
.nf
@@ -292,11 +295,16 @@ and allocation profiling.
.Sp
.nf
- mono --profile=default:stat,alloc program.exe
+ mono --profile=default:stat,alloc,file=prof.out program.exe
.fi
Will do sample statistical profiling and allocation profiling on
-program.exe.
+program.exe. The profile data is put in prof.out.
+.Sp
+Note that the statistical profiler has a very low overhead and should
+be the preferred profiler to use (for better output use the full path
+to the mono binary when running and make sure you have installed the
+addr2line utility that comes from the binutils package).
.SH PROFILERS
There are a number of external profilers that have been developed for
Mono, we will update this section to contain the profilers.