[Toc][Index]

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)   

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs