Defines | Typedefs | Functions

prinrval.h File Reference

#include "prtypes.h"
Include dependency graph for prinrval.h:
This graph shows which files directly or indirectly include this file:

Defines

#define PR_INTERVAL_MIN   1000UL
#define PR_INTERVAL_MAX   100000UL
#define PR_INTERVAL_NO_WAIT   0UL
#define PR_INTERVAL_NO_TIMEOUT   0xffffffffUL

Typedefs

typedef PRUint32 PRIntervalTime

Functions

PRIntervalTime PR_IntervalNow (void)
PRUint32 PR_TicksPerSecond (void)
PRIntervalTime PR_SecondsToInterval (PRUint32 seconds)
PRIntervalTime PR_MillisecondsToInterval (PRUint32 milli)
PRIntervalTime PR_MicrosecondsToInterval (PRUint32 micro)
PRUint32 PR_IntervalToSeconds (PRIntervalTime ticks)
PRUint32 PR_IntervalToMilliseconds (PRIntervalTime ticks)
PRUint32 PR_IntervalToMicroseconds (PRIntervalTime ticks)

Define Documentation

#define PR_INTERVAL_MAX   100000UL
#define PR_INTERVAL_MIN   1000UL
#define PR_INTERVAL_NO_TIMEOUT   0xffffffffUL
#define PR_INTERVAL_NO_WAIT   0UL

Typedef Documentation

typedef PRUint32 PRIntervalTime

Function Documentation

PRIntervalTime PR_IntervalNow ( void   ) 
PRUint32 PR_IntervalToMicroseconds ( PRIntervalTime  ticks  ) 
PRUint32 PR_IntervalToMilliseconds ( PRIntervalTime  ticks  ) 
PRUint32 PR_IntervalToSeconds ( PRIntervalTime  ticks  ) 
PRIntervalTime PR_MicrosecondsToInterval ( PRUint32  micro  ) 
PRIntervalTime PR_MillisecondsToInterval ( PRUint32  milli  ) 
PRIntervalTime PR_SecondsToInterval ( PRUint32  seconds  ) 
PRUint32 PR_TicksPerSecond ( void   )