
SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
GetStartupTime
Description:
Get a time interval from system startup. It is by mini-second.
Include:
DAPAPI.H
Usage:
ulong
GetStartupTime
( void);
Input Parameters:
None
Return Value:
a time interval from system startup. It is by mini-second.
Example:
ulong sys_msec ;
sys_msec = GetStartupTime();
Remarks:
The max. time interval is 2^32-1 min-second. It is about 49 days. After the
max. value, it will count from 0 again.
GetTickTime
Description:
Get a time interval from system startup. It is by tick (55ms).
Include:
DAPAPI.H
Usage:
ulong
GetTickTime
( void);
Input Parameters:
None
Return Value:
a time interval from system startup. It is by tick.
Example:
ULONG SYS
_
SEC
;
sys_sec = GetTickTime ();
Remarks:
The max. time interval is 2^32-1 tick. It is about 2734 days (about 7.5
years).
GetSysTime
Description:
Get a time interval from system startup. It is by second.
Include:
DAPAPI.H
Usage:
ulong
GetSysTime
( void);
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.