qelapsedtimer.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3static const qint64 invalidData = static_cast<long long>(0x8000000000000000LL);-
4void QElapsedTimer::invalidate() noexcept-
5{-
6 t1 = t2 = invalidData;-
7}
executed 134678 times by 81 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_QAbstractAnimation
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDebug
  • tst_QDirModel
  • tst_QDockWidget
  • tst_QElapsedTimer
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFontDialog
  • tst_QFuture
  • tst_QFutureSynchronizer
  • tst_QFutureWatcher
  • tst_QGestureRecognizer
  • ...
134678
8-
9-
10-
11-
12-
13-
14-
15bool QElapsedTimer::isValid() const noexcept-
16{-
17 return
executed 160919 times by 64 tests: return t1 != invalidData && t2 != invalidData;
Executed by:
  • tst_Gestures
  • tst_QAbstractAnimation
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDebug
  • tst_QDockWidget
  • tst_QElapsedTimer
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFuture
  • tst_QFutureWatcher
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QLineEdit
  • ...
t1 != invalidData && t2 != invalidData;
executed 160919 times by 64 tests: return t1 != invalidData && t2 != invalidData;
Executed by:
  • tst_Gestures
  • tst_QAbstractAnimation
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDebug
  • tst_QDockWidget
  • tst_QElapsedTimer
  • tst_QFileDialog2
  • tst_QFileIconProvider
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QFuture
  • tst_QFutureWatcher
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QGuiVariant
  • tst_QIcon
  • tst_QLineEdit
  • ...
160919
18}-
19bool QElapsedTimer::hasExpired(qint64 timeout) const noexcept-
20{-
21-
22-
23 return
executed 79506 times by 3 tests: return quint64(elapsed()) > quint64(timeout);
Executed by:
  • tst_QElapsedTimer
  • tst_QEventDispatcher
  • tst_QLockFile
quint64(elapsed()) > quint64(timeout);
executed 79506 times by 3 tests: return quint64(elapsed()) > quint64(timeout);
Executed by:
  • tst_QElapsedTimer
  • tst_QEventDispatcher
  • tst_QLockFile
79506
24}-
25-
26-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9