tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_intervaltomicroseconds.rst (506B)


      1 PR_IntervalToMicroseconds
      2 =========================
      3 
      4 Converts platform-dependent intervals to standard clock microseconds.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12    #include <prinrval.h>
     13 
     14    PRUint32 PR_IntervalToMicroseconds(PRIntervalTime ticks);
     15 
     16 
     17 Parameter
     18 ~~~~~~~~~
     19 
     20 ``ticks``
     21   The number of platform-dependent intervals to convert.
     22 
     23 
     24 Returns
     25 ~~~~~~~
     26 
     27 Equivalent in microseconds of the value passed in the ``ticks``
     28 parameter.
     29 
     30 
     31 Description
     32 -----------
     33 
     34 Conversion may cause overflow, which is not reported.