diff options
Diffstat (limited to 'doc/ext_profiler.html')
| -rw-r--r-- | doc/ext_profiler.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ext_profiler.html b/doc/ext_profiler.html index 6059b4ea..b645a204 100644 --- a/doc/ext_profiler.html +++ b/doc/ext_profiler.html | |||
| @@ -158,7 +158,7 @@ To see how much time is spent in different VM states or | |||
| 158 | Combinations of <tt>v/z</tt> with <tt>f/F/l</tt> produce two-level | 158 | Combinations of <tt>v/z</tt> with <tt>f/F/l</tt> produce two-level |
| 159 | views, e.g. <tt>-jp=vf</tt> or <tt>-jp=fv</tt>. This shows the time | 159 | views, e.g. <tt>-jp=vf</tt> or <tt>-jp=fv</tt>. This shows the time |
| 160 | spent in a VM state or zone vs. hotspots. This can be used to answer | 160 | spent in a VM state or zone vs. hotspots. This can be used to answer |
| 161 | questions like "Which time consuming functions are only interpreted?" or | 161 | questions like "Which time-consuming functions are only interpreted?" or |
| 162 | "What's the garbage collector overhead for a specific function?". | 162 | "What's the garbage collector overhead for a specific function?". |
| 163 | </p> | 163 | </p> |
| 164 | <p> | 164 | <p> |
| @@ -217,7 +217,7 @@ local profile = require("jit.profile") | |||
| 217 | This module can be used to implement your own higher-level profiler. | 217 | This module can be used to implement your own higher-level profiler. |
| 218 | A typical profiling run starts the profiler, captures stack dumps in | 218 | A typical profiling run starts the profiler, captures stack dumps in |
| 219 | the profiler callback, adds them to a hash table to aggregate the number | 219 | the profiler callback, adds them to a hash table to aggregate the number |
| 220 | of samples, stops the profiler and then analyzes all of the captured | 220 | of samples, stops the profiler and then analyzes all captured |
| 221 | stack dumps. Other parameters can be sampled in the profiler callback, | 221 | stack dumps. Other parameters can be sampled in the profiler callback, |
| 222 | too. But it's important not to spend too much time in the callback, | 222 | too. But it's important not to spend too much time in the callback, |
| 223 | since this may skew the statistics. | 223 | since this may skew the statistics. |
| @@ -271,9 +271,9 @@ returns a string with a stack dump for the <tt>thread</tt> (coroutine), | |||
| 271 | formatted according to the <tt>fmt</tt> argument: | 271 | formatted according to the <tt>fmt</tt> argument: |
| 272 | </p> | 272 | </p> |
| 273 | <ul> | 273 | <ul> |
| 274 | <li><tt>p</tt> — Preserve the full path for module names. Otherwise | 274 | <li><tt>p</tt> — Preserve the full path for module names. Otherwise, |
| 275 | only the file name is used.</li> | 275 | only the file name is used.</li> |
| 276 | <li><tt>f</tt> — Dump the function name if it can be derived. Otherwise | 276 | <li><tt>f</tt> — Dump the function name if it can be derived. Otherwise, |
| 277 | use module:line.</li> | 277 | use module:line.</li> |
| 278 | <li><tt>F</tt> — Ditto, but dump module:name.</li> | 278 | <li><tt>F</tt> — Ditto, but dump module:name.</li> |
| 279 | <li><tt>l</tt> — Dump module:line.</li> | 279 | <li><tt>l</tt> — Dump module:line.</li> |
