Ignore:
Timestamp:
Mar 28, 2001, 8:11:57 PM (24 years ago)
Author:
umoeller
Message:

misc. changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh.c

    r50 r51  
    17851785 *      or you'll get crashes.
    17861786 *
    1787  *      If this call returns NO_ERROR, you get a LONG
    1788  *      CPU load for each CPU in the system in the
    1789  *      DOSHPERFSYS.palLoads array (in per-mille, 0-1000).
     1787 *      If this call returns NO_ERROR, you get LONG load
     1788 *      values for each CPU in the system in the arrays
     1789 *      in DOSHPERFSYS (in per-mille, 0-1000).
     1790 *
     1791 *      There are two arrays:
     1792 *
     1793 *      -- DOSHPERFSYS.palLoads contains the "user" load
     1794 *         for each CPU.
     1795 *
     1796 *      -- DOSHPERFSYS.palIntrs contains the "IRQ" load
     1797 *         for each CPU.
     1798 *
     1799 *      Sum up the two values to get the total load for
     1800 *      each CPU.
    17901801 *
    17911802 *      For example, if there are two CPUs, after this call,
    17921803 *
    1793  *      -- DOSHPERFSYS.palLoads[0] contains the load of
    1794  *         the first CPU,
    1795  *
    1796  *      -- DOSHPERFSYS.palLoads[1] contains the load of
    1797  *         the second CPU.
     1804 *      -- DOSHPERFSYS.palLoads[0] contains the "user" load
     1805 *         of the first CPU,
     1806 *
     1807 *      -- DOSHPERFSYS.palLoads[0] contains the "user" load
     1808 *         of the second CPU.
    17981809 *
    17991810 *      See doshPerfOpen for example code.
     
    18841895    else
    18851896    {
    1886         /* if (pPerfSys->fInitialized)
    1887             pPerfSys->pDosPerfSysCall(CMD_KI_DISABLE,
    1888                                       0, 0, 0); */
     1897        // do not call this, this messes up the WarpCenter V0.9.9 (2001-02-06) [umoeller]
     1898        // if (pPerfSys->fInitialized) pPerfSys->pDosPerfSysCall(CMD_KI_DISABLE, 0, 0, 0);
    18891899
    18901900        if (pPerfSys->paCPUUtils)
Note: See TracChangeset for help on using the changeset viewer.