summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:17:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:18:23 +0200
commit84d4f021259e589498229b65dd89cf4948022bd6 (patch)
tree4589a46a9229b25c6b3aa07d4b2cea62fa382ef3 /tracker-hatire/thread.hpp
parent5d3572e15b063ccdf2fc5adde8fa9f2d4d3553be (diff)
tracker/hatire: add debug logging variance
Diffstat (limited to 'tracker-hatire/thread.hpp')
-rwxr-xr-xtracker-hatire/thread.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tracker-hatire/thread.hpp b/tracker-hatire/thread.hpp
index f36d114e..44866e51 100755
--- a/tracker-hatire/thread.hpp
+++ b/tracker-hatire/thread.hpp
@@ -8,6 +8,9 @@
#include <QFile>
#include <QCoreApplication>
+#include "opentrack/variance.hpp"
+#include "opentrack-compat/timer.hpp"
+
enum results
{
result_ok,
@@ -100,6 +103,8 @@ class hatire_thread : public QThread
QByteArray data_read;
serial_t com_port;
thread_settings s;
+ variance stat;
+ Timer timer, throttle_timer;
void run() override;