diff options
Diffstat (limited to 'src/citra_qt/debugger/profiler.h')
| -rw-r--r-- | src/citra_qt/debugger/profiler.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/citra_qt/debugger/profiler.h b/src/citra_qt/debugger/profiler.h index 3b38ed8ec..d8c6487aa 100644 --- a/src/citra_qt/debugger/profiler.h +++ b/src/citra_qt/debugger/profiler.h | |||
| @@ -7,21 +7,20 @@ | |||
| 7 | #include <QAbstractItemModel> | 7 | #include <QAbstractItemModel> |
| 8 | #include <QDockWidget> | 8 | #include <QDockWidget> |
| 9 | #include <QTimer> | 9 | #include <QTimer> |
| 10 | |||
| 11 | #include "ui_profiler.h" | ||
| 12 | |||
| 13 | #include "common/microprofile.h" | 10 | #include "common/microprofile.h" |
| 14 | #include "common/profiler_reporting.h" | 11 | #include "common/profiler_reporting.h" |
| 12 | #include "ui_profiler.h" | ||
| 15 | 13 | ||
| 16 | class ProfilerModel : public QAbstractItemModel | 14 | class ProfilerModel : public QAbstractItemModel { |
| 17 | { | ||
| 18 | Q_OBJECT | 15 | Q_OBJECT |
| 19 | 16 | ||
| 20 | public: | 17 | public: |
| 21 | ProfilerModel(QObject* parent); | 18 | ProfilerModel(QObject* parent); |
| 22 | 19 | ||
| 23 | QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; | 20 | QVariant headerData(int section, Qt::Orientation orientation, |
| 24 | QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; | 21 | int role = Qt::DisplayRole) const override; |
| 22 | QModelIndex index(int row, int column, | ||
| 23 | const QModelIndex& parent = QModelIndex()) const override; | ||
| 25 | QModelIndex parent(const QModelIndex& child) const override; | 24 | QModelIndex parent(const QModelIndex& child) const override; |
| 26 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; | 25 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; |
| 27 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; | 26 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; |
| @@ -34,8 +33,7 @@ private: | |||
| 34 | Common::Profiling::AggregatedFrameResult results; | 33 | Common::Profiling::AggregatedFrameResult results; |
| 35 | }; | 34 | }; |
| 36 | 35 | ||
| 37 | class ProfilerWidget : public QDockWidget | 36 | class ProfilerWidget : public QDockWidget { |
| 38 | { | ||
| 39 | Q_OBJECT | 37 | Q_OBJECT |
| 40 | 38 | ||
| 41 | public: | 39 | public: |
| @@ -51,7 +49,6 @@ private: | |||
| 51 | QTimer update_timer; | 49 | QTimer update_timer; |
| 52 | }; | 50 | }; |
| 53 | 51 | ||
| 54 | |||
| 55 | class MicroProfileDialog : public QWidget { | 52 | class MicroProfileDialog : public QWidget { |
| 56 | Q_OBJECT | 53 | Q_OBJECT |
| 57 | 54 | ||