- Timestamp:
- Mar 20, 2020 11:46:50 AM (5 years ago)
- 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 17 17 18 18 /* Qt includes: */ 19 #include <QApplication>20 #include <QLabel>21 #include <QMenu>22 #include <QPainter>23 #include <QGridLayout>24 #include <QScrollArea>25 #include <QStyle>26 19 #include <QXmlStreamReader> 27 #include <QTimer> 20 28 21 29 22 /* GUI includes: */ 30 23 #include "UICommon.h" 31 24 #include "UIMonitorCommon.h" 32 #include "UISession.h"33 25 34 26 /* 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" 49 28 50 29 /* static */ -
trunk/src/VBox/Frontends/VirtualBox/src/monitor/UIMonitorCommon.h
r83346 r83347 21 21 # pragma once 22 22 #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 37 23 38 24 /** UIDebuggerMetricData is used as data storage while parsing the xml stream received from IMachineDebugger. */
Note:
See TracChangeset
for help on using the changeset viewer.