This commit is contained in:
parent
b2f36b59fe
commit
d35a798a03
@ -1,10 +1,16 @@
|
|||||||
--- reference.c.orig
|
--- reference.c.orig
|
||||||
+++ reference.c
|
+++ reference.c
|
||||||
@@ -562,6 +562,7 @@ is_offset_ok(double offset)
|
@@ -562,6 +562,13 @@ is_offset_ok(double offset)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ LOG(LOGS_WARN, "offset = % .010f ", offset);
|
+ static int firsttime = 1;
|
||||||
|
+ if (firsttime) {
|
||||||
|
+ LOG(LOGS_WARN, "max_offset = % .010f ", max_offset);
|
||||||
|
+ firsttime = 0;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ LOG(LOGS_WARN, "offset = % .010f ", offset);
|
||||||
if (fabs(offset) > max_offset) {
|
if (fabs(offset) > max_offset) {
|
||||||
LOG(LOGS_WARN,
|
LOG(LOGS_WARN,
|
||||||
"Adjustment of %.3f seconds exceeds the allowed maximum of %.3f seconds (%s) ",
|
"Adjustment of %.3f seconds exceeds the allowed maximum of %.3f seconds (%s) ",
|
||||||
|
@ -298,8 +298,8 @@ find %{buildroot} -type f | xargs sed -i '
|
|||||||
# Set random seed to get deterministic results
|
# Set random seed to get deterministic results
|
||||||
export CLKNETSIM_RANDOM_SEED=24501
|
export CLKNETSIM_RANDOM_SEED=24501
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
export CLKNETSIM_CONNECT_TIMEOUT=100
|
|
||||||
make %{?_smp_mflags} -C test/simulation/clknetsim
|
make %{?_smp_mflags} -C test/simulation/clknetsim
|
||||||
|
%if 0
|
||||||
pushd test/simulation
|
pushd test/simulation
|
||||||
./124-tai ||:
|
./124-tai ||:
|
||||||
for f in tmp/*; do
|
for f in tmp/*; do
|
||||||
@ -309,6 +309,7 @@ done
|
|||||||
echo
|
echo
|
||||||
popd
|
popd
|
||||||
exit 1
|
exit 1
|
||||||
|
%endif
|
||||||
make %{?_smp_mflags} quickcheck
|
make %{?_smp_mflags} quickcheck
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user