Looking at the impementaiton trick is only using the user space number and not the system/kernel space number from the rusage structure. It would be nice if trick showed both numbers (struct timeval ru_utime; and struct timeval ru_stime;). I think it makes more sense to show them separate than combining them into one number in the output. When we have to do OS level tuning for hardware in the loop it would be good to have them separate.
Looking at the impementaiton trick is only using the user space number and not the system/kernel space number from the rusage structure. It would be nice if trick showed both numbers (struct timeval ru_utime; and struct timeval ru_stime;). I think it makes more sense to show them separate than combining them into one number in the output. When we have to do OS level tuning for hardware in the loop it would be good to have them separate.