VirtualBox

Changeset 13837 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Nov 5, 2008 2:54:02 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38828
Message:

s/%Vr\([acfs]\)/%Rr\1/g - since I'm upsetting everyone anyway, better make the most of it...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstCollector.cpp

    r12913 r13837  
    5353        rc = collector->fn; \
    5454    if (RT_FAILURE(rc)) \
    55         RTPrintf("tstCollector: "#fn" -> %Vrc\n", rc)
     55        RTPrintf("tstCollector: "#fn" -> %Rrc\n", rc)
    5656
    5757#define CALLS_PER_SECOND(fn) \
     
    6666    if (RT_FAILURE(rc)) \
    6767    { \
    68         RTPrintf("tstCollector: "#fn" -> %Vrc\n", rc); \
     68        RTPrintf("tstCollector: "#fn" -> %Rrc\n", rc); \
    6969    } \
    7070    else \
     
    8989            hints.getProcesses(processes);
    9090            std::for_each(processes.begin(), processes.end(), std::ptr_fun(RTProcTerminate));
    91             RTPrintf("tstCollector: RTProcCreate() -> %Vrc\n", rc);
     91            RTPrintf("tstCollector: RTProcCreate() -> %Rrc\n", rc);
    9292            return;
    9393        }
     
    200200    if (RT_FAILURE(rc))
    201201    {
    202         RTPrintf("tstCollector: preCollect() -> %Vrc\n", rc);
     202        RTPrintf("tstCollector: preCollect() -> %Rrc\n", rc);
    203203        return 1;
    204204    }
     
    206206    if (RT_FAILURE(rc))
    207207    {
    208         RTPrintf("tstCollector: getRawHostCpuLoad() -> %Vrc\n", rc);
     208        RTPrintf("tstCollector: getRawHostCpuLoad() -> %Rrc\n", rc);
    209209        return 1;
    210210    }
     
    212212    if (RT_FAILURE(rc))
    213213    {
    214         RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Vrc\n", rc);
     214        RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Rrc\n", rc);
    215215        return 1;
    216216    }
     
    221221    if (RT_FAILURE(rc))
    222222    {
    223         RTPrintf("tstCollector: preCollect() -> %Vrc\n", rc);
     223        RTPrintf("tstCollector: preCollect() -> %Rrc\n", rc);
    224224        return 1;
    225225    }
     
    227227    if (RT_FAILURE(rc))
    228228    {
    229         RTPrintf("tstCollector: getRawHostCpuLoad() -> %Vrc\n", rc);
     229        RTPrintf("tstCollector: getRawHostCpuLoad() -> %Rrc\n", rc);
    230230        return 1;
    231231    }
     
    233233    if (RT_FAILURE(rc))
    234234    {
    235         RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Vrc\n", rc);
     235        RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Rrc\n", rc);
    236236        return 1;
    237237    }
     
    253253    if (RT_FAILURE(rc))
    254254    {
    255         RTPrintf("tstCollector: preCollect() -> %Vrc\n", rc);
     255        RTPrintf("tstCollector: preCollect() -> %Rrc\n", rc);
    256256        return 1;
    257257    }
     
    259259    if (RT_FAILURE(rc))
    260260    {
    261         RTPrintf("tstCollector: getRawHostCpuLoad() -> %Vrc\n", rc);
     261        RTPrintf("tstCollector: getRawHostCpuLoad() -> %Rrc\n", rc);
    262262        return 1;
    263263    }
     
    265265    if (RT_FAILURE(rc))
    266266    {
    267         RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Vrc\n", rc);
     267        RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Rrc\n", rc);
    268268        return 1;
    269269    }
     
    274274    if (RT_FAILURE(rc))
    275275    {
    276         RTPrintf("tstCollector: preCollect() -> %Vrc\n", rc);
     276        RTPrintf("tstCollector: preCollect() -> %Rrc\n", rc);
    277277        return 1;
    278278    }
     
    280280    if (RT_FAILURE(rc))
    281281    {
    282         RTPrintf("tstCollector: getRawHostCpuLoad() -> %Vrc\n", rc);
     282        RTPrintf("tstCollector: getRawHostCpuLoad() -> %Rrc\n", rc);
    283283        return 1;
    284284    }
     
    286286    if (RT_FAILURE(rc))
    287287    {
    288         RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Vrc\n", rc);
     288        RTPrintf("tstCollector: getRawProcessCpuLoad() -> %Rrc\n", rc);
    289289        return 1;
    290290    }
     
    305305    if (RT_FAILURE(rc))
    306306    {
    307         RTPrintf("tstCollector: getHostMemoryUsage() -> %Vrc\n", rc);
     307        RTPrintf("tstCollector: getHostMemoryUsage() -> %Rrc\n", rc);
    308308        return 1;
    309309    }
     
    311311    if (RT_FAILURE(rc))
    312312    {
    313         RTPrintf("tstCollector: getProcessMemoryUsage() -> %Vrc\n", rc);
     313        RTPrintf("tstCollector: getProcessMemoryUsage() -> %Rrc\n", rc);
    314314        return 1;
    315315    }
     
    322322
    323323    measurePerformance(collector, argv[0], 100);
    324    
     324
    325325    delete collector;
    326326
Note: See TracChangeset for help on using the changeset viewer.

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