Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

unsigned PTimer::Resolution (  ) [static]

Get the smallest number of milliseconds that the timer can be set to. All actual timing events will be rounded up to the next value. This is typically the platforms internal timing units used in the Tick()# function.

Returns:
minimum number of milliseconds per timer "tick".

Definition at line 142 of file ptlib.inl.

Referenced by TimingTest::Main().

  { return 1000/CLOCKS_PER_SEC; }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index