projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96dbf01
)
Session: Print duration of last acquisition only.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 4 May 2019 19:11:08 +0000
(21:11 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 4 May 2019 19:11:08 +0000
(21:11 +0200)
This resets the timer at the start of a new acquisition.
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index c2fd21498b248f36086580466ccf2356bd64bc87..6d9ce830bdaf19ef8ee33ba651f0844516904778 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-825,7
+825,7
@@
void Session::set_capture_state(capture_state state)
bool changed;
if (state == Running)
- acq_time_.start();
+ acq_time_.
re
start();
if (state == Stopped)
qDebug("Acquisition took %.2f s", acq_time_.elapsed() / 1000.);