File: QwtSystemClock.3

package info (click to toggle)
qwt 6.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,848 kB
  • ctags: 15,811
  • sloc: cpp: 57,382; makefile: 41
file content (86 lines) | stat: -rw-r--r-- 2,038 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.TH "QwtSystemClock" 3 "Thu Dec 11 2014" "Version 6.1.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtSystemClock \- 
.PP
\fBQwtSystemClock\fP provides high resolution clock time functions\&.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_system_clock\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQwtSystemClock\fP ()"
.br
.RI "\fIConstructs a null clock object\&. \fP"
.ti -1c
.RI "virtual \fB~QwtSystemClock\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "bool \fBisNull\fP () const "
.br
.ti -1c
.RI "void \fBstart\fP ()"
.br
.ti -1c
.RI "double \fBrestart\fP ()"
.br
.ti -1c
.RI "double \fBelapsed\fP () const "
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBQwtSystemClock\fP provides high resolution clock time functions\&. 

Sometimes the resolution offered by QTime ( millisecond ) is not accurate enough for implementing time measurements ( f\&.e\&. sampling )\&. \fBQwtSystemClock\fP offers a subset of the QTime functionality using higher resolution timers ( if possible )\&.
.PP
Precision and time intervals are multiples of milliseconds (ms)\&.
.PP
\fBNote:\fP
.RS 4
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\&. 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "double QwtSystemClock::elapsed () const"

.PP
\fBReturns:\fP
.RS 4
Number of milliseconds that have elapsed since the last time \fBstart()\fP or \fBrestart()\fP was called or 0\&.0 for null clocks\&. 
.RE
.PP

.SS "bool QwtSystemClock::isNull () const"

.PP
\fBReturns:\fP
.RS 4
true if the clock has never been started\&. 
.RE
.PP

.SS "double QwtSystemClock::restart ()"
Set the start time to the current time 
.PP
\fBReturns:\fP
.RS 4
Time, that is elapsed since the previous start time\&. 
.RE
.PP

.SS "void QwtSystemClock::start ()"
Sets the start time to the current time\&. 

.SH "Author"
.PP 
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.