Jump to content

RxUptime

From EDM2
Revision as of 20:09, 14 September 2021 by Martini (talk | contribs)

OS/2 Warp REXX extension DLL for getting system uptime information from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime().

Files

  • RxUptime.dll

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.

License

Public domain. Source code included.

  • Author: Mike Ruskai

Links