[−][src]Function time_cmd::time_cmd
pub fn time_cmd(cmd: Command) -> Result<(Timings, ExitStatus)>
Spawns the given command and times how long it takes to exit.
The user must ensure that no other child processes are running at the same time, or else the times will be added.
On Windows the user_time
and sys_time
fields will be NaN.