Tickcount, Property description values – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual
Page 36

N
AURTECH
W
EB
B
ROWSER AND
T
ERMINAL
E
MULATION FOR
W
INDOWS
CE
AND
W
INDOWS
M
OBILE
CETerm Scripting Guide
Page 36
Property
Description
Values
Network
Returns the Network object. This object
provides access to Windows network
features. (read only)
object
Process
Returns the Process object. This object
provides control of running Windows
programs. (read only)
object
Registry
Returns the Registry object. This object
provides access to the Windows registry.
(read only)
object
TickCount
Returns the current tick count from
Windows. This provides a millisecond
resolution time source. (read only)
unsigned
integer, 0-
0xFFFFFFFF
Window
Returns the Window object. This object
provides access to current windows of
running programs. (read only)
object
MemoryStatus
The return value is in the form of a JavaScript object literal. See Section 2.8 for
information on handling literal return values.
For example the following object literal shows results from a Windows CE 5.0
device:
{utilization:22, totalRAM:58613760, availableRAM:46153728,
totalStorage:29061120, availableStorage:17583852}
Not all devices will return all values, so you should check for the existence of a
value before use. See Section 2.8 for details.
TickCount
The return value is the number of milliseconds since the device booted,
excluding any time that the system was suspended. TickCount starts at zero on
boot and then counts up from there. The count will rollover to zero if the system
is run continuously for 49.7 days. The maximum value is 0xFFFFFFFF.
When using TickCount, beware that rollover may occur. Comparing tick values
directly does not always yield the correct results. By design, TickCount may
have a drift of 1 second per 2 hours. Do not use TickCount for drift sensitive
applications.