RxUptime: Difference between revisions
Appearance
Created page with "OS/2 Warp REXX extension DLL for getting system uptime information from DosQuerySysInfo() and DosTmrQueryFreq()/DosTmrQueryTime(). ==Functions== ;RxLoadUptime :Load all uptim..." |
No edit summary |
||
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. | ||
==License== | ==License== | ||
Line 29: | Line 29: | ||
==Links== | ==Links== | ||
* [https://hobbes.nmsu.edu/download/pub/os2/dev/rexx/rxuptime.zip rxuptime.zip] | * [https://hobbes.nmsu.edu/download/pub/os2/dev/rexx/rxuptime.zip rxuptime.zip] | ||
[[Category:REXX Function Library]] |
Revision as of 20:09, 14 September 2021
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