Qwtsystemclock provides high resolution clock time functions.
#include <qwt_system_clock.h>
QwtSystemClock ()
virtual ~QwtSystemClock ()
bool isNull () const
void start ()
double restart ()
double elapsed () const
static double precision ()
QwtSystemClock provides high resolution clock time functions.
Sometimes the resolution offered by QTime ( millisecond ) is not accurate enough for implementing time measurements ( f.e. sampling ). QwtSystemClock offers a subset of the QTime functionality using higher resolution timers ( if possible ).
Precision and time intervals are multiples of milliseconds (ms).
Note:
The implementation uses high-resolution performance counter on Windows, mach_absolute_time() on the Mac or POSIX timers on other systems. If none is available it falls back on QTimer.
Constructs a null clock object.
Destructor.
Number of milliseconds that have elapsed since the last time start() or restart() was called or 0.0 for null clocks.
true if the clock has never been started.
Accuracy of the system clock in milliseconds.
Generated automatically by Doxygen for Qwt User's Guide from the source code.