diff options
Diffstat (limited to 'src/corelib/kernel/qelapsedtimer_generic.cpp')
-rw-r--r-- | src/corelib/kernel/qelapsedtimer_generic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/kernel/qelapsedtimer_generic.cpp b/src/corelib/kernel/qelapsedtimer_generic.cpp index fe959e3c94..5a93735c49 100644 --- a/src/corelib/kernel/qelapsedtimer_generic.cpp +++ b/src/corelib/kernel/qelapsedtimer_generic.cpp @@ -81,7 +81,8 @@ void QElapsedTimer::start() noexcept } /*! - Restarts the timer and returns the time elapsed since the previous start. + Restarts the timer and returns the number of milliseconds elapsed since + the previous start. This function is equivalent to obtaining the elapsed time with elapsed() and then starting the timer again with start(), but it does so in one single operation, avoiding the need to obtain the clock value twice. |