Ignore:
Timestamp:
Aug 31, 2002, 4:19:50 PM (23 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

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

    r217 r218  
    558558 *
    559559 *@@added V0.9.2 (2000-03-05) [umoeller]
     560 *@@changed V0.9.21 (2002-08-16) [pr]: optimized
    560561 */
    561562
     
    566567    while (pProcThis && pProcThis->ulRecType == 1)
    567568    {
    568         int i;
    569569        PQTHREAD32  t = pProcThis->pThreads;
    570570        PQMODULE32  pModule;
     
    589589        // the next process block comes after the
    590590        // threads
    591         for (i=0;
    592              i < pProcThis->usThreadCount;
    593              i++,t++)
    594             ;
    595 
     591        t += pProcThis->usThreadCount;
    596592        pProcThis = (PQPROCESS32)t;
    597593    }
     
    607603 *
    608604 *@@added V0.9.21 (2002-08-12) [umoeller]
     605 *@@changed V0.9.21 (2002-08-16) [pr]: optimized
    609606 */
    610607
     
    615612    while (pProcThis && pProcThis->ulRecType == 1)
    616613    {
    617         int i;
    618614        PQTHREAD32  t = pProcThis->pThreads;
    619615
     
    624620        // the next process block comes after the
    625621        // threads
    626         for (i=0;
    627              i < pProcThis->usThreadCount;
    628              i++, t++)
    629             ;
    630 
     622        t += pProcThis->usThreadCount;
    631623        pProcThis = (PQPROCESS32)t;
    632624    }
Note: See TracChangeset for help on using the changeset viewer.