public abstract class Exchange extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
errlimit
The
errlimit parameter is used in determining whether
two times should be considered as nominally equal. |
static String |
versionString
String identifying the version of the library.
|
Modifier | Constructor and Description |
---|---|
protected |
Exchange(int errlimit) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
equalTimes(int[] t1,
int offset1,
int[] t2,
int offset2,
int duration_count) |
protected boolean |
equalTimes(int t1,
int t2) |
static String |
getVersion()
Returns version string.
|
protected void |
outputDebugString(String s) |
protected void |
outputDebugString(String format,
Object... obj) |
static void |
setDebug(boolean dbg)
Turns debugging on or off, according to the argument.
|
public static final String versionString
protected int errlimit
errlimit
parameter is used in determining whether
two times should be considered as nominally equal. Two times are nominally equal if they are either
within 2.5% of one another or if their difference in microseconds does not exceed errlimit
.
The errlimit
criterion represents a variation inherent in the signal capture mechanism, the
percentage criterion represents natural variations in the signal.public static void setDebug(boolean dbg)
dbg
- public static String getVersion()
protected void outputDebugString(String s)
s
- protected boolean equalTimes(int t1, int t2)
protected boolean equalTimes(int[] t1, int offset1, int[] t2, int offset2, int duration_count)
Copyright © 2018. All rights reserved.