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
diff options
context:
space:
mode:
authorLudovic Henry <ludovic.henry@xamarin.com>2014-06-07 00:00:03 +0400
committerLudovic Henry <ludovic.henry@xamarin.com>2014-06-07 00:00:03 +0400
commita587e4641a69581471e2f61cf2df60a1c9ff8617 (patch)
tree6d199949c2441eb545d5f6c60431c527c2926d15 /man/mprof-report.1
parent11e01299d958fa8f9ffc5253f27e2ff631b29c04 (diff)
[counters] Add counters documentation to man page
Diffstat (limited to 'man/mprof-report.1')
-rw-r--r--man/mprof-report.121
1 files changed, 21 insertions, 0 deletions
diff --git a/man/mprof-report.1 b/man/mprof-report.1
index de40af60d8e..4b1b7816817 100644
--- a/man/mprof-report.1
+++ b/man/mprof-report.1
@@ -211,6 +211,15 @@ The following commands are available:
.IP \[bu] 2
\f[I]heapshot\f[]: perform a heapshot as soon as possible
.RE
+.IP \[bu] 2
+\f[I]counters\f[]: sample counters values every 1 second. This allow
+a really lightweight way to have insight in some of the runtime key
+metrics. Counters displayed in non verbose mode are : Methods from AOT,
+Methods JITted using mono JIT, Methods JITted using LLVM, Total time
+spent JITting (sec), User Time, System Time, Total Time, Working Set,
+Private Bytes, Virtual Bytes, Page Faults and CPU Load Average (1min,
+5min and 15min).
+.RE
.SS Analyzing the profile data
.PP
Currently there is a command line program (\f[I]mprof-report\f[])
@@ -284,6 +293,16 @@ where \f[I]MODE\f[] can be:
.IP \[bu] 2
\f[I]bytes\f[]: the total number of bytes used by objects of the
given type
+.PP
+To change the sort order of counters, use the option:
+.PP
+\f[B]--counters-sort=MODE\f[]
+.PP
+where \f[I]MODE\f[] can be:
+.IP \[bu] 2
+\f[I]time\f[]: sort values by time then category
+.IP \[bu] 2
+\f[I]category\f[]: sort values by category then time
.SS Selecting what data to report
.PP
The profiler by default collects data about many runtime subsystems
@@ -319,6 +338,8 @@ version
\f[I]thread\f[]: thread information
.IP \[bu] 2
\f[I]heapshot\f[]: live heap usage at heap shots
+.IP \[bu] 2
+\f[I]counters\f[]: counters samples
.PP
It is possible to limit some of the data displayed to a timeframe
of the program execution with the option: