Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtsystemclock(3) [debian man page]

QwtSystemClock(3)						 Qwt User's Guide						 QwtSystemClock(3)

NAME
QwtSystemClock - QwtSystemClock provides high resolution clock time functions. SYNOPSIS
#include <qwt_system_clock.h> Public Member Functions QwtSystemClock () virtual ~QwtSystemClock () bool isNull () const void start () double restart () double elapsed () const Static Public Member Functions static double precision () Detailed Description 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. Constructor &; Destructor Documentation QwtSystemClock::QwtSystemClock () Constructs a null clock object. QwtSystemClock::~QwtSystemClock () [virtual] Destructor. Member Function Documentation double QwtSystemClock::elapsed () const Returns: Number of milliseconds that have elapsed since the last time start() or restart() was called or 0.0 for null clocks. bool QwtSystemClock::isNull () const Returns: true if the clock has never been started. double QwtSystemClock::precision () [static] Returns: Accuracy of the system clock in milliseconds. double QwtSystemClock::restart () The start time to the current time and return the time, that is elapsed since the previous start time. void QwtSystemClock::start () Sets the start time to the current time. Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtSystemClock(3)

Check Out this Related Man Page

QwtIntervalData(3)						 Qwt User's Guide						QwtIntervalData(3)

NAME
QwtIntervalData - Series of samples of a value and an interval. SYNOPSIS
#include <qwt_interval_data.h> Public Member Functions QwtDoubleRect boundingRect () const const QwtDoubleInterval & interval (size_t i) const QwtIntervalData (const QwtArray< QwtDoubleInterval > &, const QwtArray< double > &) QwtIntervalData () void setData (const QwtArray< QwtDoubleInterval > &, const QwtArray< double > &) size_t size () const double value (size_t i) const ~QwtIntervalData () Detailed Description Series of samples of a value and an interval. QwtIntervalData is a series of samples of a value and an interval. F.e. error bars are built from samples [x, y1-y2], while a histogram might consist of [x1-x2, y] samples. Constructor &; Destructor Documentation QwtIntervalData::QwtIntervalData () Constructor. QwtIntervalData::QwtIntervalData (const QwtArray< QwtDoubleInterval > &intervals, const QwtArray< double > &values) Constructor. QwtIntervalData::~QwtIntervalData () Destructor. Member Function Documentation QwtDoubleRect QwtIntervalData::boundingRect () const Calculate the bounding rectangle of the samples The x coordinates of the rectangle are built from the intervals, the y coordinates from the values. Returns: Bounding rectangle const QwtDoubleInterval & QwtIntervalData::interval (size_ti) const [inline] Interval of a sample Parameters: i Sample index Returns: Interval See also: value(), size() void QwtIntervalData::setData (const QwtArray< QwtDoubleInterval > &intervals, const QwtArray< double > &values) Assign samples. size_t QwtIntervalData::size () const [inline] Returns: Number of samples double QwtIntervalData::value (size_ti) const [inline] Value of a sample Parameters: i Sample index Returns: Value See also: interval(), size() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtIntervalData(3)
Man Page