test(bkgpslog):more pid float testing
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Tue, 7 Jul 2020 10:02:51 +0000 (10:02 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Tue, 7 Jul 2020 10:02:51 +0000 (10:02 +0000)
exec/bkgpslog

index 7a4487fd872bfcea28fbf833f56ae1181fff5b09..4678c1e36a72e290c6007f637683f4261b4025b7 100755 (executable)
@@ -1000,7 +1000,7 @@ magicBufferSleepPID() {
     fi;
     ## Calculate nanosecond remainder
     ### Remove integer
-    BUFFER_TTL_ADJ_FLOATFRAC="$((BUFFER_TTL_ADJ_NS - (BUFFER_TTL_ADJ_INT*(10**9)) ))";
+    BUFFER_TTL_ADJ_FLOATFRAC="$((BUFFER_TTL_ADJ_NS - (BUFFER_TTL_ADJ_INT*(10**9)) ))" && vbm "BUFFER_TTL_ADJ_FLOATFRAC:$BUFFER_TTL_ADJ_FLOATFRAC";
     ### Calc absolute value of fraction (by removing '-' if present; see https://stackoverflow.com/a/47240327
     BUFFER_TTL_ADJ_FLOATFRAC="${BUFFER_TTL_ADJ_FLOAT_FRAC#-}" && vbm "BUFFER_TTL_ADJ_FLOATFRAC:$BUFFER_TTL_ADJ_FLOATFRAC";
     ## Form float BUFFER_TTL_ADJ_FLOAT