RxUptime - get system uptime information
Name RxUptime - get system uptime information
Version 12/2000
Author Mike Ruskai
(see EMail Addresses)
Distrib. Freeware
Type REXX DLL
Price -
Note w/ source
Source Internet
(see Internet - FTP sites)
Name: rxuptime.*
RxUptime is an OS/2 Warp REXX extension DLL for getting system uptime information
from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime().
The DLL exports the functions
RxLoadUptime
Load all uptime functions
RxDropUptime
Drop all uptime functions.
RxMSCount
Query running millisecond count via DosQuerySysInfo().
Returns the number of milliseconds, or -1 if there was an error during execution.
RxTmrFreq
Query CPU
timer frequency via DosTmrQueryFreq(). Returns the number of Hertz, or -1
if there was an error.
RxTmrTime
Query
CPU timer count via DosTmrQueryTime(). Returns the number of cycles, or
-1 if there was an error.
Hint from the author:
"All functions take no arguments. I seem to recall reading somewhere that
the DosTmr*() API's were added with Warp 4, so functionality under Warp
3 is indeterminate."
(see also Get the date and time
of the OS/2 boot process)
[Back: RxSwitchQuery - REXX interface DLL for querying the WinSwitchList]
[Next: DosQueryPerformance interface]