[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: was there a more fine number than $SECONDS for the same purpose
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: was there a more fine number than $SECONDS for the same purpose |
Date: |
Sun, 7 Nov 2021 15:24:23 +0100 |
ill do so, only with the epoch value, and gawk math'ing
thank you
On Sun, Nov 7, 2021, 15:23 Tapani Tarvainen <tapani@tapanitarvainen.fi>
wrote:
> On Sun, Nov 07, 2021 at 09:47:15AM +0100, Alex fxmbsw7 Ratchev (
> fxmbsw7@gmail.com) wrote:
>
> > like 0.4s or so
>
> As far as I know there isn't. However, you could use $EPOCHSECONDS and
> $EPOCHREALTIME for the purpose, e.g.,
>
> SDIFF=$(( EPOCHSECONDS - SECONDS ))
> ...
> MICROSECONDS=$(echo $EPOCHREALTIME - $SDIFF | bc)
>
>
> --
> Tapani Tarvainen
>
>
- Re: was there a more fine number than $SECONDS for the same purpose, (continued)
- Re: was there a more fine number than $SECONDS for the same purpose, Dennis Williamson, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Alex fxmbsw7 Ratchev, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Greg Wooledge, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Tapani Tarvainen, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Tapani Tarvainen, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Alex fxmbsw7 Ratchev, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Tapani Tarvainen, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Alex fxmbsw7 Ratchev, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose, Alex fxmbsw7 Ratchev, 2021/11/07
Re: was there a more fine number than $SECONDS for the same purpose, Tapani Tarvainen, 2021/11/07
- Re: was there a more fine number than $SECONDS for the same purpose,
Alex fxmbsw7 Ratchev <=