I've checked time, timex, times even before posting the question and reviewed 'time' now.
As I understand I need in every comand in my screept add the time and get what: time of executing that one command?
Or redirect the time's output somewhere, take the result and calculate a time from beginning of the script?
Very uncomfortable!
That not what I am looking for.
I would assume to be able to put a line anywhere in script something like that:
>...
> echo "Processing time from beginning of the script="$(some_time_getting_util)
start_time=$(date "+%s.*N")
#...
#do something here
#...
sleep 5
echo "Processing time from beginning of the script = $(echo "$(date "+%s.%N")- $start" | bc) seconds"