aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-21 16:56:41 +0200
committerLukas Larsson <[email protected]>2018-05-21 16:56:41 +0200
commit29871fb6086b535104b10703dd524781e87e0800 (patch)
tree1436b47255d78be4f1b35a8364b5eec024d863d9 /lib/tools
parent9cc697fe2cda12ed2d32fb134ed5584f248f9377 (diff)
parentd5dc5584884488c8fcb5710997a14c2c418692f3 (diff)
downloadotp-29871fb6086b535104b10703dd524781e87e0800.tar.gz
otp-29871fb6086b535104b10703dd524781e87e0800.tar.bz2
otp-29871fb6086b535104b10703dd524781e87e0800.zip
Merge branch 'lukas/erts/cpu_time_thread/OTP-15090'
* lukas/erts/cpu_time_thread/OTP-15090: erts: Make cpu_timestamp use per thread on Linux
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/doc/src/fprof.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/tools/doc/src/fprof.xml b/lib/tools/doc/src/fprof.xml
index 4c9e48045e..72624bd33b 100644
--- a/lib/tools/doc/src/fprof.xml
+++ b/lib/tools/doc/src/fprof.xml
@@ -328,10 +328,16 @@
purposes. This option is only
allowed with the <c>start</c> option.</item>
<tag><c>cpu_time</c>| <c>{cpu_time, bool()}</c></tag>
- <item>The options <c>cpu_time</c> or <c>{cpu_time, true></c>
+ <item>The options <c>cpu_time</c> or <c>{cpu_time, true}</c>
makes the timestamps in the trace be in CPU time instead
of wallclock time which is the default. This option is
- only allowed with the <c>start</c> option.</item>
+ only allowed with the <c>start</c> option.
+ <warning><p>Getting correct values out of cpu_time can be difficult.
+ The best way to get correct values is to run using a single
+ scheduler and bind that scheduler to a specific CPU,
+ i.e. <c>erl +S 1 +sbt db</c>.</p>
+ </warning>
+ </item>
<tag><c>{procs, PidSpec}</c>| <c>{procs, [PidSpec]}</c></tag>
<item>Specifies which processes that shall be traced. If
this option is not given, the calling process is