From: Tilman Sauerbeck Date: Sat, 4 May 2019 19:14:24 +0000 (+0200) Subject: Session: Use a monotonic clock to measure acquisition time. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5322d2d051e051cb44fe60fc4375b6ffc1ea8c01;p=pulseview.git Session: Use a monotonic clock to measure acquisition time. --- diff --git a/pv/session.hpp b/pv/session.hpp index 211fe1b3..a4aaf6aa 100644 --- a/pv/session.hpp +++ b/pv/session.hpp @@ -38,7 +38,7 @@ #include #include #include -#include +#include #ifdef ENABLE_FLOW #include @@ -307,7 +307,7 @@ private: bool data_saved_; bool frame_began_; - QTime acq_time_; + QElapsedTimer acq_time_; #ifdef ENABLE_FLOW RefPtr pipeline_;