EasyManua.ls Logo

VeriFone MX800 Series - Svcgetsysmillisec(), Svcgetsysmicrosec()

VeriFone MX800 Series
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SERVICE FUNCTIONS
svcGetSysMillisec(), svcGetSysMicrosec()
M
X
800 SERIES PROGRAMMERS GUIDE 189
svcGetSysMillisec(), svcGetSysMicrosec()
Returns the number of time units (microseconds or milliseconds) elapsed since
the Epoch (Jan 1970 for Linux).
The functions may be used for general timing purposes and are accurate to well
under 1 millisecond. The return type is unsigned long long to avoid rollover
problems until the year 2037 (because the underlying Linux calls return seconds
in a signed long).
Prototype
unsigned long long microsecSince01Jan1970 = svcGetSysMicrosec();
unsigned long long millisecsecSince01Jan1970 = svcGetSysMillisec();

Table of Contents