Home
last modified time | relevance | path

Searched refs:uv_rusage (Results 1 – 1 of 1) sorted by relevance

/libuv/src/win/
H A Dutil.c876 int uv_getrusage(uv_rusage_t *uv_rusage) { in uv_getrusage() argument
910 memset(uv_rusage, 0, sizeof(*uv_rusage)); in uv_getrusage()
912 uv_rusage->ru_utime.tv_sec = userSystemTime.wHour * 3600 + in uv_getrusage()
915 uv_rusage->ru_utime.tv_usec = userSystemTime.wMilliseconds * 1000; in uv_getrusage()
917 uv_rusage->ru_stime.tv_sec = kernelSystemTime.wHour * 3600 + in uv_getrusage()
920 uv_rusage->ru_stime.tv_usec = kernelSystemTime.wMilliseconds * 1000; in uv_getrusage()
922 uv_rusage->ru_majflt = (uint64_t) memCounters.PageFaultCount; in uv_getrusage()
923 uv_rusage->ru_maxrss = (uint64_t) memCounters.PeakWorkingSetSize / 1024; in uv_getrusage()
925 uv_rusage->ru_oublock = (uint64_t) ioCounters.WriteOperationCount; in uv_getrusage()
926 uv_rusage->ru_inblock = (uint64_t) ioCounters.ReadOperationCount; in uv_getrusage()

Completed in 11 milliseconds