mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[fix] elapsed time check
This commit is contained in:
parent
d4b2ff46a6
commit
1589f098e1
@ -148,7 +148,6 @@ function StartTimer() {
|
|||||||
|
|
||||||
function printElapsedTime() {
|
function printElapsedTime() {
|
||||||
local END_TIME
|
local END_TIME
|
||||||
ELAPSED_TIME
|
|
||||||
|
|
||||||
END_TIME=$(date +%s%N)
|
END_TIME=$(date +%s%N)
|
||||||
ELAPSED_TIME=$(echo "($END_TIME - $START_TIME)/1000000" | bc)
|
ELAPSED_TIME=$(echo "($END_TIME - $START_TIME)/1000000" | bc)
|
||||||
|
Loading…
Reference in New Issue
Block a user