summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_intervaltomicroseconds.rst
blob: a8e3fec038056291dfa687f28650321752a81b47 (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
31
32
33
34
PR_IntervalToMicroseconds
=========================

Converts platform-dependent intervals to standard clock microseconds.


Syntax
------

.. code::

    #include <prinrval.h>

    PRUint32 PR_IntervalToMicroseconds(PRIntervalTime ticks);


Parameter
~~~~~~~~~

``ticks``
   The number of platform-dependent intervals to convert.


Returns
~~~~~~~

Equivalent in microseconds of the value passed in the ``ticks``
parameter.


Description
-----------

Conversion may cause overflow, which is not reported.