aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2020-09-02 17:38:44 -0700
committercjihrig <cjihrig@gmail.com>2020-09-03 11:08:10 -0400
commit8a782f18153b6335dea15b789d2edadeca275f5e (patch)
tree1aa4499685bab86a13a72d66bb3e6d467ae1fd5b /docs/src
parent45478378fdaa29cc928ee7c16db470a361b035ee (diff)
downloadlibuv-8a782f18153b6335dea15b789d2edadeca275f5e.tar.gz
libuv-8a782f18153b6335dea15b789d2edadeca275f5e.zip
doc: add uv_metrics_idle_time() version metadata
Refs: https://github.com/libuv/libuv/pull/2725 PR-URL: https://github.com/libuv/libuv/pull/2984 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/loop.rst2
-rw-r--r--docs/src/metrics.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/loop.rst b/docs/src/loop.rst
index f9ebb9d4..0f5ddfb3 100644
--- a/docs/src/loop.rst
+++ b/docs/src/loop.rst
@@ -73,6 +73,8 @@ API
This option is necessary to use :c:func:`uv_metrics_idle_time`.
+ .. versionchanged:: 1.39.0 added the UV_METRICS_IDLE_TIME option.
+
.. c:function:: int uv_loop_close(uv_loop_t* loop)
Releases all internal loop resources. Call this function only when the loop
diff --git a/docs/src/metrics.rst b/docs/src/metrics.rst
index 223f7feb..696c620d 100644
--- a/docs/src/metrics.rst
+++ b/docs/src/metrics.rst
@@ -23,3 +23,5 @@ API
The event loop will not begin accumulating the event provider's idle
time until calling :c:type:`uv_loop_configure` with
:c:type:`UV_METRICS_IDLE_TIME`.
+
+ .. versionadded:: 1.39.0