summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_microsecondstointerval.rst
blob: 9771809bb85cd0d448aa5d5e1c29990a9a987f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PR_MicrosecondsToInterval
=========================

Converts standard clock microseconds to platform-dependent intervals.


Syntax
------

.. code::

    #include <prinrval.h>

    PRIntervalTime PR_MicrosecondsToInterval(PRUint32 milli);


Parameter
~~~~~~~~~

The function has the following parameter:

``micro``
   The number of microseconds to convert to interval form.


Returns
~~~~~~~

Platform-dependent equivalent of the value passed in the ``micro``
parameter.