summaryrefslogtreecommitdiffstats
path: root/DOCS/man/stats.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/stats.rst')
-rw-r--r--DOCS/man/stats.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/stats.rst b/DOCS/man/stats.rst
index 4f9496f4de..2cf730f673 100644
--- a/DOCS/man/stats.rst
+++ b/DOCS/man/stats.rst
@@ -212,6 +212,10 @@ are missing.
Memory usage is approximate and does not reflect internal fragmentation.
+JS scripts memory reporting is disabled by default because collecting the data
+at the JS side has an overhead. It can be enabled by exporting the env var
+``MPV_LEAK_REPORT=1`` before starting mpv, and will increase JS memory usage.
+
If entries have ``/time`` and ``/cpu`` variants, the former gives the real time
(monotonic clock), while the latter the thread CPU time (only if the
corresponding pthread API works and is supported).