X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/blobdiff_plain/1d2b85aa3aad5e487eb619e373000c047be63143..c503eb7ba7d5a806a791da481bdee5dd240e995f:/exec/bkgpslog diff --git a/exec/bkgpslog b/exec/bkgpslog index 7a4487f..4678c1e 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -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