summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_intervaltomilliseconds.rst
blob: a68c4534bb7dd652fc3e8baabb05be9c719683c6 (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_IntervalToMilliseconds
=========================

Converts platform-dependent intervals to standard clock milliseconds.


Syntax
------

.. code::

    #include <prinrval.h>

    PRUint32 PR_IntervalToMilliseconds(PRIntervalTime ticks);


Parameter
~~~~~~~~~

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


Returns
~~~~~~~

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


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

Conversion may cause overflow, which is not reported.