VirtualBox

Changeset 10726 in vbox for trunk


Ignore:
Timestamp:
Jul 17, 2008 1:47:35 PM (16 years ago)
Author:
vboxsync
Message:

Disabled Perf code in tstAPI to fix builds.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r10725 r10726  
    283283        unsigned long getMaxValue() { return mBaseMetric->getMaxValue(); };
    284284        unsigned long getPeriod() { return mBaseMetric->getPeriod(); };
    285         unsigned long getLength() { return mBaseMetric->getLength(); };
     285        unsigned long getLength() { return mAggregate ? 1 : mBaseMetric->getLength(); };
    286286        void query(unsigned long **data, unsigned long *count);
    287287   
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r10725 r10726  
    926926#endif
    927927
    928 #if 1
     928#if 0
    929929    do {
    930930        // Get collector
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