The Unix `time` command

[https://en.wikipedia.org/wiki/Time_%28Unix%29](https://en.wikipedia.org/wiki/Time_%28Unix%29)

[https://www.lifewire.com/command-return-time-command-4054237](https://www.lifewire.com/command-return-time-command-4054237)

returns three (3) variants: `real`, `usr`, `sys`. Nim's `cpuTime()` corresponds 
to `usr` (total cpu time), whereas `epochTime()` corresponds to `real` (clock 
time).

I would like to recommend that `realTime()` be included in Nim's `time` module 
to make it shadow that component of the Unix `time` command, which will make 
it's function and use case much clearer to users. This may only need to create 
`realTime()` as an alias of `epochTime()`.

Reply via email to