Skip to content

Commit

Permalink
Use gawk's gettimeofday if available #57
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Sep 26, 2021
1 parent f2b41d5 commit 4e6851b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Executing goal 'a' ...
total time 3.006 s
```

*Small issue exists with this option on macOS.* Due to BSD `date` not supporting `+%N` formatting option the default precision of timings is 1 sec. To make it 1 ms precise (if this is important) just install Gawk (`brew install gawk`). In this case Gawk built-in `gettimeofday` function will be used.
*Small issue exists with this option on macOS.* Due to BSD's `date` not supporting `+%N` formatting option, the default precision of timings is 1 sec. To make it 1 ms precise (if this is important) just install Gawk (`brew install gawk`). In this case Gawk built-in `gettimeofday` function will be used.
```
@options tracing
```
Expand Down

0 comments on commit 4e6851b

Please sign in to comment.