VirtualBox

Changeset 19943 in vbox


Ignore:
Timestamp:
May 23, 2009 3:46:49 PM (16 years ago)
Author:
vboxsync
Message:

tstR0ThreadPreemption.cpp: use thousand separators to make the ns and loop count numbers readable.

File:
1 edited

Legend:

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

    r19940 r19943  
    110110                             && cNanosElapsed < UINT64_C(60)*1000U*1000U*1000U);
    111111                    if (!fPending)
    112                         RTStrPrintf(pszErr, cchErr, "!Preempt not pending after %llu loops / %llu ns",
     112                        RTStrPrintf(pszErr, cchErr, "!Preempt not pending after %'llu loops / %'llu ns",
    113113                                    cLoops, cNanosElapsed);
    114114                    else if (cLoops == 1)
    115115                        RTStrPrintf(pszErr, cchErr, "!cLoops=0\n");
    116116                    else
    117                         RTStrPrintf(pszErr, cchErr, "RTThreadPreemptIsPending returned true after %llu loops / %llu ns",
     117                        RTStrPrintf(pszErr, cchErr, "RTThreadPreemptIsPending returned true after %'llu loops / %'llu ns",
    118118                                    cLoops, cNanosElapsed);
    119119                }
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