summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/profiler.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-17 18:25:21 -0300
committerGravatar Yuri Kunde Schlesner2015-08-24 22:16:28 -0300
commit0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237 (patch)
treea1651d48113413e2de1e6e309362511b1ff7ffa8 /src/citra_qt/debugger/profiler.h
parentcitra-qt: Add helper function to get a monospace QFont (diff)
downloadyuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.gz
yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.xz
yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.zip
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and multi-threaded timeline view.
Diffstat (limited to 'src/citra_qt/debugger/profiler.h')
-rw-r--r--src/citra_qt/debugger/profiler.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/profiler.h b/src/citra_qt/debugger/profiler.h
index fabf279b8..2199eaef1 100644
--- a/src/citra_qt/debugger/profiler.h
+++ b/src/citra_qt/debugger/profiler.h
@@ -48,3 +48,20 @@ private:
48 48
49 QTimer update_timer; 49 QTimer update_timer;
50}; 50};
51
52class MicroProfileDialog : public QWidget {
53 Q_OBJECT
54
55public:
56 MicroProfileDialog(QWidget* parent = 0);
57
58 /// Returns a QAction that can be used to toggle visibility of this dialog.
59 QAction* toggleViewAction();
60
61protected:
62 void showEvent(QShowEvent* ev) override;
63 void hideEvent(QHideEvent* ev) override;
64
65private:
66 QAction* toggle_view_action = nullptr;
67};