Files
tubestation/docs/nspr/reference/pr_intervaltomilliseconds.rst
2022-02-02 17:19:51 +00:00

35 lines
511 B
ReStructuredText

PR_IntervalToMilliseconds
=========================
Converts platform-dependent intervals to standard clock milliseconds.
Syntax
------
.. code:: eval
#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.