diff options
| author | 2017-02-19 18:35:04 -0800 | |
|---|---|---|
| committer | 2017-02-26 17:22:03 -0800 | |
| commit | 3b4e4003336c94527339a2a9ad7d52875974258f (patch) | |
| tree | 18e6e1125ff486ff3f9bd2985af7830cd7838f22 /src/citra_qt/debugger/profiler.h | |
| parent | PerfStats: Add method to get the instantaneous time ratio (diff) | |
| download | yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.gz yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.xz yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.zip | |
Remove built-in (non-Microprofile) profiler
Diffstat (limited to 'src/citra_qt/debugger/profiler.h')
| -rw-r--r-- | src/citra_qt/debugger/profiler.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/citra_qt/debugger/profiler.h b/src/citra_qt/debugger/profiler.h index c8912fd5a..eae1e9e3c 100644 --- a/src/citra_qt/debugger/profiler.h +++ b/src/citra_qt/debugger/profiler.h | |||
| @@ -8,46 +8,6 @@ | |||
| 8 | #include <QDockWidget> | 8 | #include <QDockWidget> |
| 9 | #include <QTimer> | 9 | #include <QTimer> |
| 10 | #include "common/microprofile.h" | 10 | #include "common/microprofile.h" |
| 11 | #include "common/profiler_reporting.h" | ||
| 12 | #include "ui_profiler.h" | ||
| 13 | |||
| 14 | class ProfilerModel : public QAbstractItemModel { | ||
| 15 | Q_OBJECT | ||
| 16 | |||
| 17 | public: | ||
| 18 | explicit ProfilerModel(QObject* parent); | ||
| 19 | |||
| 20 | QVariant headerData(int section, Qt::Orientation orientation, | ||
| 21 | int role = Qt::DisplayRole) const override; | ||
| 22 | QModelIndex index(int row, int column, | ||
| 23 | const QModelIndex& parent = QModelIndex()) const override; | ||
| 24 | QModelIndex parent(const QModelIndex& child) const override; | ||
| 25 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; | ||
| 26 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; | ||
| 27 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; | ||
| 28 | |||
| 29 | public slots: | ||
| 30 | void updateProfilingInfo(); | ||
| 31 | |||
| 32 | private: | ||
| 33 | Common::Profiling::AggregatedFrameResult results; | ||
| 34 | }; | ||
| 35 | |||
| 36 | class ProfilerWidget : public QDockWidget { | ||
| 37 | Q_OBJECT | ||
| 38 | |||
| 39 | public: | ||
| 40 | explicit ProfilerWidget(QWidget* parent = nullptr); | ||
| 41 | |||
| 42 | private slots: | ||
| 43 | void setProfilingInfoUpdateEnabled(bool enable); | ||
| 44 | |||
| 45 | private: | ||
| 46 | Ui::Profiler ui; | ||
| 47 | ProfilerModel* model; | ||
| 48 | |||
| 49 | QTimer update_timer; | ||
| 50 | }; | ||
| 51 | 11 | ||
| 52 | class MicroProfileDialog : public QWidget { | 12 | class MicroProfileDialog : public QWidget { |
| 53 | Q_OBJECT | 13 | Q_OBJECT |