summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_usec_per_sec.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nspr/reference/pr_usec_per_sec.rst')
-rw-r--r--docs/nspr/reference/pr_usec_per_sec.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/nspr/reference/pr_usec_per_sec.rst b/docs/nspr/reference/pr_usec_per_sec.rst
new file mode 100644
index 0000000000..8389f7db6b
--- /dev/null
+++ b/docs/nspr/reference/pr_usec_per_sec.rst
@@ -0,0 +1,16 @@
+PR_USEC_PER_SEC
+===============
+
+A convenience macro to improve code readability as well as to avoid
+mistakes in counting the number of zeros; represents the number of
+microseconds in a second.
+
+
+Syntax
+------
+
+.. code::
+
+ #include <prtime.h>
+
+ #define PR_USEC_PER_SEC 1000000UL