Jump to content

RxUptime: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
 
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]]
[[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]