utility/process: Add cpu_times and max_memory_usage, and port to Windows