API Guide Home
(Online version only)

palmOneHiResTimer.h File Reference


Detailed Description

Public 68k include file for Hi-Resolution timer for Palm OS.

Version:
1.0

Definition in file palmOneHiResTimer.h.

Include dependency graph for palmOneHiResTimer.h:

Go to the source code of this file.

Functions


Function Documentation

Err HRTimeLibClose ( UInt16  refNum  ) 

Closes the Hi-Res Timer library.

Parameters:
refNum,: IN: Library reference number.
Return values:
Err Error code.

Err HRTimeLibGetTime ( UInt16  refNum,
UInt32 ticksP,
UInt32 rolloverP 
)

Get the current ticks for Hi-Resolution Timer.

Parameters:
refNum,: IN: Library reference number.
ticksP,: OUT: Current ticks.
rolloverP,: OUT: Number of rollover since the timer started.
Return values:
Err Error code.

Err HRTimeLibOpen ( UInt16  refNum  ) 

Opens the Hi-Res Timer library.

Parameters:
refNum,: IN: Library reference number.
Return values:
Err Error code.

Err HRTimeLibTicksPerSecond ( UInt16  refNum,
UInt32 ticksP 
)

Get the frequency of the Hi-Resolution Timer.

Parameters:
refNum,: IN: Library reference number.
ticksP,: OUT: Frequency of the timer.
Return values:
Err Error code.


Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:07:50 2008 for Palm API Guide