summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_usec_per_sec.rst
blob: 8389f7db6b4b2e79497213d1b9c3f7f5bb654628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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