Lines Matching refs:rusage
1002 int uv_getrusage(uv_rusage_t* rusage) { in uv_getrusage() argument
1003 struct rusage usage; in uv_getrusage()
1008 rusage->ru_utime.tv_sec = usage.ru_utime.tv_sec; in uv_getrusage()
1009 rusage->ru_utime.tv_usec = usage.ru_utime.tv_usec; in uv_getrusage()
1011 rusage->ru_stime.tv_sec = usage.ru_stime.tv_sec; in uv_getrusage()
1012 rusage->ru_stime.tv_usec = usage.ru_stime.tv_usec; in uv_getrusage()
1015 rusage->ru_maxrss = usage.ru_maxrss; in uv_getrusage()
1016 rusage->ru_ixrss = usage.ru_ixrss; in uv_getrusage()
1017 rusage->ru_idrss = usage.ru_idrss; in uv_getrusage()
1018 rusage->ru_isrss = usage.ru_isrss; in uv_getrusage()
1019 rusage->ru_minflt = usage.ru_minflt; in uv_getrusage()
1020 rusage->ru_majflt = usage.ru_majflt; in uv_getrusage()
1021 rusage->ru_nswap = usage.ru_nswap; in uv_getrusage()
1022 rusage->ru_inblock = usage.ru_inblock; in uv_getrusage()
1023 rusage->ru_oublock = usage.ru_oublock; in uv_getrusage()
1024 rusage->ru_msgsnd = usage.ru_msgsnd; in uv_getrusage()
1025 rusage->ru_msgrcv = usage.ru_msgrcv; in uv_getrusage()
1026 rusage->ru_nsignals = usage.ru_nsignals; in uv_getrusage()
1027 rusage->ru_nvcsw = usage.ru_nvcsw; in uv_getrusage()
1028 rusage->ru_nivcsw = usage.ru_nivcsw; in uv_getrusage()
1035 rusage->ru_maxrss /= 1024; /* macOS and iOS report bytes. */ in uv_getrusage()
1037 rusage->ru_maxrss *= getpagesize() / 1024; /* Solaris reports pages. */ in uv_getrusage()