Jump to content

RxUptime: Difference between revisions

From EDM2
Created page with "OS/2 Warp REXX extension DLL for getting system uptime information from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime(). ==Functions== ;RxLoadUptime :Load all uptim..."
 
Ak120 (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
OS/2 Warp REXX extension DLL for getting system uptime information from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime().
OS/2 Warp REXX extension DLL for getting system uptime information from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime().
==Files==
* RxUptime.dll


==Functions==
==Functions==
Line 19: Line 22:
:Query CPU timer count via DosTmrQueryTime().
:Query CPU timer count via DosTmrQueryTime().
:Returns the number of cycles, or -1 if there was an error.
:Returns the number of cycles, or -1 if there was an error.
==Files==
* RxUptime.dll


==License==
==License==
Line 28: Line 28:


==Links==
==Links==
* [https://hobbes.nmsu.edu/download/pub/os2/dev/rexx/rxuptime.zip rxuptime.zip]
* [rxuptime.zip]
 
[[Category:REXX Function Library]]

Latest revision as of 01:25, 5 October 2023

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

  • [rxuptime.zip]