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