DosQueryPerformance interface
Name   A rexx interface to DosQueryPerformance
Version  public release 1.0.0 (build 1) - May 25th,2001
Author  Takayuki 'January June' Suwa
     (see EMail Addresses)
Distrib. Freeware
Type   REXX DLL
Price   -
Note   w/ source
Source  Internet
     Name: perfdll*.*
     (see Internet - Web Pages)
Description from the author:
"This software is a dynalink library that queries performance activity ratios
(busy, idle and interrupt one) of overall system and each CPUs on 32bit
OS/2 process. This function is derived from DosPerfSysCall() API, but it
is slightly complicated to issue this API directly:
- Not all of 32bit OS/2 have DosPerfSysCall().
 - Not all of 80386-compatible CPUs have RDTSC instruction.
 - It is necessary to determine # of CPUs to calculate
overall system acativity, in SMP environments.
 - More calculations are required to obtain activity
ratios, because queried results are raw snapshot of 64bit-wide RDTSC counters.
 
This DLL internally does such complex handlings of all above, thus you can
simply call one: DosQueryPerformance() :)
It can be used any 32bit development suites that can issue OS/2 APIs such
as emx/gcc, VisualAge C/C++ or Watcom C/C++, and REXX external function
interface is also supplied.
Free to use, under the GNU LGPL. " 
[Back: RxUptime - get system uptime information] 
[Next: RxNumLock]