Always start timer stopped.

This commit is contained in:
Ion Gaztañaga
2026-03-29 14:59:08 +02:00
parent 705fb56be1
commit f75a5d9f50
+1 -1
View File
@@ -198,7 +198,7 @@ class cpu_timer
public:
// constructor
cpu_timer() BOOST_NOEXCEPT { start(); }
cpu_timer() BOOST_NOEXCEPT : m_is_stopped(true) {}
// observers
bool is_stopped() const BOOST_NOEXCEPT { return m_is_stopped; }