uv_rusage API function for both Unix and Windows