VirtualBox

Changeset 20442 in vbox


Ignore:
Timestamp:
Jun 9, 2009 2:38:55 PM (15 years ago)
Author:
vboxsync
Message:

more typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstSemMutex.cpp

    r20440 r20442  
    183183
    184184    uint64_t Normal = Total / cThreads;
    185     uint64_t MaxDiviation = 0;
     185    uint64_t MaxDeviation = 0;
    186186    for (i = 0; i < cThreads; i++)
    187187    {
     
    190190            RTPrintf("tstSemMutex: Warning! Thread %d deviates by more than 50%% - %llu (it) vs. %llu (avg)\n",
    191191                     i, g_au64[i], Normal);
    192         if (Delta > MaxDiviation)
    193             MaxDiviation = Delta;
    194 
    195     }
    196 
    197     RTPrintf("tstSemMutex: Threads: %u  Total: %llu  Per Sec: %llu  Avg: %llu ns  Max div: %llu%%\n",
     192        if (Delta > MaxDeviation)
     193            MaxDeviation = Delta;
     194
     195    }
     196
     197    RTPrintf("tstSemMutex: Threads: %u  Total: %llu  Per Sec: %llu  Avg: %llu ns  Max dev: %llu%%\n",
    198198             cThreads,
    199199             Total,
    200200             Total / cSeconds,
    201201             ElapsedNS / Total,
    202              MaxDiviation * 100 / Normal
     202             MaxDeviation * 100 / Normal
    203203             );
    204204    return 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette