From c8ebb71cde973439d2a2161cc72f170bfed3a25b Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 10:36:03 +0000 Subject: [PATCH] test(bkgpslog):More debug msgs --- exec/bkgpslog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exec/bkgpslog b/exec/bkgpslog index 99238ed..b69b8be 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -976,7 +976,8 @@ magicBufferSleepPID() { # for value in "${errorHistory[@]}"; do # errReset=$(( errReset + ( value*BUFFER_TTL_NS ) )); # done; - errReset="$(( (errReset + (errNS*BUFFER_TTL_NS)) ))" && vbm "errReset:$errReset"; + vbm "errReset(orig):$errReset" + errReset="$(( (errReset + (errNS*BUFFER_TTL_NS)) ))" && vbm "errReset(post):$errReset"; # errResetx10e3="$(( ( errResetx10e3 + ( errNSx10e3 * BUFFER_TTL_NS ) )*10**3 ))" && vbm "errResetx10e3:$errResetx10e3"; # Calculate errRate in nanoseconds per nanosecond -- 2.30.2