__run_duration returns 0 when it can't calculate the command run duration (when the shell doesn't have support for PS0, like ksh).