VirtualBox

Changeset 83347 in vbox for trunk


Ignore:
Timestamp:
Mar 20, 2020 11:46:50 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9686. Some cleanup

Location:
trunk/src/VBox/Frontends/VirtualBox/src/monitor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/monitor/UIMonitorCommon.cpp

    r83346 r83347  
    1717
    1818/* Qt includes: */
    19 #include <QApplication>
    20 #include <QLabel>
    21 #include <QMenu>
    22 #include <QPainter>
    23 #include <QGridLayout>
    24 #include <QScrollArea>
    25 #include <QStyle>
    2619#include <QXmlStreamReader>
    27 #include <QTimer>
     20
    2821
    2922/* GUI includes: */
    3023#include "UICommon.h"
    3124#include "UIMonitorCommon.h"
    32 #include "UISession.h"
    3325
    3426/* COM includes: */
    35 #include "CGuest.h"
    36 #include "CPerformanceCollector.h"
    37 #include "CPerformanceMetric.h"
    38 
    39 /* External includes: */
    40 # include <math.h>
    41 
    42 /** The time in seconds between metric inquries done to API. */
    43 const ULONG iPeriod = 1;
    44 /** The number of data points we store in UIChart. with iPeriod=1 it corresponds to 2 min. of data. */
    45 const int iMaximumQueueSize = 120;
    46 /** This is passed to IPerformanceCollector during its setup. When 1 that means IPerformanceCollector object does a data cache of size 1. */
    47 const int iMetricSetupCount = 1;
    48 const int iDecimalCount = 2;
     27#include "CMachineDebugger.h"
    4928
    5029/* static */
  • trunk/src/VBox/Frontends/VirtualBox/src/monitor/UIMonitorCommon.h

    r83346 r83347  
    2121# pragma once
    2222#endif
    23 
    24 /* Qt includes: */
    25 #include <QWidget>
    26 #include <QMap>
    27 #include <QQueue>
    28 
    29 /* COM includes: */
    30 #include "COMEnums.h"
    31 #include "CConsole.h"
    32 #include "CGuest.h"
    33 #include "CMachine.h"
    34 #include "CMachineDebugger.h"
    35 #include "CPerformanceCollector.h"
    36 
    3723
    3824/** UIDebuggerMetricData is used as data storage while parsing the xml stream received from IMachineDebugger. */
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