From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 10:36:03 +0000 (+0000) Subject: test(bkgpslog):More debug msgs X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/c8ebb71cde973439d2a2161cc72f170bfed3a25b?ds=inline test(bkgpslog):More debug msgs --- 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