* @brief Returns the steady-clock reading in nanoseconds, matching the watchdog thread. */
| 34 | * @brief Returns the steady-clock reading in nanoseconds, matching the watchdog thread. |
| 35 | */ |
| 36 | static qint64 steadyNowNs() |
| 37 | { |
| 38 | using namespace std::chrono; |
| 39 | return duration_cast<nanoseconds>(steady_clock::now().time_since_epoch()).count(); |
| 40 | } |
| 41 | |
| 42 | //-------------------------------------------------------------------------------------------------- |
| 43 | // Construction |